Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPG-648 add PG17 support #921

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: pgupgrades.postgres-operator.crunchydata.com
spec:
group: postgres-operator.crunchydata.com
Expand Down Expand Up @@ -964,7 +964,7 @@ spec:
fromPostgresVersion:
description: The major version of PostgreSQL before the upgrade.
maximum: 17
minimum: 10
minimum: 12
type: integer
image:
description: The image name to use for major PostgreSQL upgrades.
Expand Down Expand Up @@ -2509,7 +2509,7 @@ spec:
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 17
minimum: 10
minimum: 13
type: integer
tolerations:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: postgresclusters.postgres-operator.crunchydata.com
spec:
group: postgres-operator.crunchydata.com
Expand Down Expand Up @@ -14014,7 +14014,7 @@ spec:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 17
minimum: 10
minimum: 12
type: integer
proxy:
description: The specification of a proxy that connects to PostgreSQL.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgbackups.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgclusters.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -13627,7 +13627,7 @@ spec:
postgresVersion:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 16
maximum: 17
minimum: 12
type: integer
proxy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgrestores.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgupgrades.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -2511,7 +2511,7 @@ spec:
type: string
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 16
maximum: 17
minimum: 13
type: integer
tolerations:
Expand Down
12 changes: 6 additions & 6 deletions config/crd/bases/pgv2.percona.com_perconapgclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgbackups.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -409,7 +409,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgclusters.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -14033,7 +14033,7 @@ spec:
postgresVersion:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 16
maximum: 17
minimum: 12
type: integer
proxy:
Expand Down Expand Up @@ -17852,7 +17852,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgrestores.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -17950,7 +17950,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgupgrades.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -20458,7 +20458,7 @@ spec:
type: string
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 16
maximum: 17
minimum: 13
type: integer
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down Expand Up @@ -966,7 +966,7 @@ spec:
fromPostgresVersion:
description: The major version of PostgreSQL before the upgrade.
maximum: 17
minimum: 10
minimum: 12
type: integer
image:
description: The image name to use for major PostgreSQL upgrades.
Expand Down Expand Up @@ -2506,7 +2506,7 @@ spec:
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 17
minimum: 10
minimum: 13
type: integer
tolerations:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: 5.4.2
Expand Down Expand Up @@ -13956,7 +13956,7 @@ spec:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 17
minimum: 10
minimum: 12
type: integer
proxy:
description: The specification of a proxy that connects to PostgreSQL.
Expand Down
26 changes: 13 additions & 13 deletions deploy/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down Expand Up @@ -295,7 +295,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgbackups.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -702,7 +702,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgclusters.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -14326,7 +14326,7 @@ spec:
postgresVersion:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 16
maximum: 17
minimum: 12
type: integer
proxy:
Expand Down Expand Up @@ -18145,7 +18145,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgrestores.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -18243,7 +18243,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
name: perconapgupgrades.pgv2.percona.com
spec:
group: pgv2.percona.com
Expand Down Expand Up @@ -20751,7 +20751,7 @@ spec:
type: string
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 16
maximum: 17
minimum: 13
type: integer
tolerations:
Expand Down Expand Up @@ -20951,7 +20951,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down Expand Up @@ -22855,7 +22855,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: latest
Expand Down Expand Up @@ -23819,7 +23819,7 @@ spec:
fromPostgresVersion:
description: The major version of PostgreSQL before the upgrade.
maximum: 17
minimum: 10
minimum: 12
type: integer
image:
description: The image name to use for major PostgreSQL upgrades.
Expand Down Expand Up @@ -25359,7 +25359,7 @@ spec:
toPostgresVersion:
description: The major version of PostgreSQL to be upgraded to.
maximum: 17
minimum: 10
minimum: 13
type: integer
tolerations:
description: |-
Expand Down Expand Up @@ -25552,7 +25552,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.16.5
labels:
app.kubernetes.io/name: pgo
app.kubernetes.io/version: 5.4.2
Expand Down Expand Up @@ -39506,7 +39506,7 @@ spec:
description: The major version of PostgreSQL installed in the PostgreSQL
image
maximum: 17
minimum: 10
minimum: 12
type: integer
proxy:
description: The specification of a proxy that connects to PostgreSQL.
Expand Down
8 changes: 4 additions & 4 deletions deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ spec:
# test-label: value


image: perconalab/percona-postgresql-operator:main-ppg16-postgres
image: perconalab/percona-postgresql-operator:main-ppg17-postgres
imagePullPolicy: Always
postgresVersion: 16
postgresVersion: 17
# port: 5432

# expose:
Expand Down Expand Up @@ -229,7 +229,7 @@ spec:
proxy:
pgBouncer:
replicas: 3
image: perconalab/percona-postgresql-operator:main-ppg16-pgbouncer
image: perconalab/percona-postgresql-operator:main-ppg17-pgbouncer
# exposeSuperusers: true
# resources:
# limits:
Expand Down Expand Up @@ -311,7 +311,7 @@ spec:
pgbackrest:
# metadata:
# labels:
image: perconalab/percona-postgresql-operator:main-ppg16-pgbackrest
image: perconalab/percona-postgresql-operator:main-ppg17-pgbackrest
#
# containers:
# pgbackrest:
Expand Down
Loading
Loading