Skip to content

Commit 91398e4

Browse files
committed
Initial Postgres 17 version bumps for CRDs
Issue: PGO-1638
1 parent c50a3fe commit 91398e4

6 files changed

+10
-10
lines changed

config/crd/bases/postgres-operator.crunchydata.com_crunchybridgeclusters.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ spec:
6868
majorVersion:
6969
description: |-
7070
The ID of the cluster's major Postgres version.
71-
Currently Bridge offers 13-16
72-
maximum: 16
71+
Currently Bridge offers 13-17
72+
maximum: 17
7373
minimum: 13
7474
type: integer
7575
metadata:

config/crd/bases/postgres-operator.crunchydata.com_pgupgrades.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ spec:
965965
type: object
966966
fromPostgresVersion:
967967
description: The major version of PostgreSQL before the upgrade.
968-
maximum: 16
968+
maximum: 17
969969
minimum: 10
970970
type: integer
971971
image:
@@ -1082,7 +1082,7 @@ spec:
10821082
type: string
10831083
toPostgresVersion:
10841084
description: The major version of PostgreSQL to be upgraded to.
1085-
maximum: 16
1085+
maximum: 17
10861086
minimum: 10
10871087
type: integer
10881088
tolerations:

config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11579,7 +11579,7 @@ spec:
1157911579
postgresVersion:
1158011580
description: The major version of PostgreSQL installed in the PostgreSQL
1158111581
image
11582-
maximum: 16
11582+
maximum: 17
1158311583
minimum: 10
1158411584
type: integer
1158511585
proxy:

pkg/apis/postgres-operator.crunchydata.com/v1beta1/crunchy_bridgecluster_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ type CrunchyBridgeClusterSpec struct {
4242
Plan string `json:"plan"`
4343

4444
// The ID of the cluster's major Postgres version.
45-
// Currently Bridge offers 13-16
45+
// Currently Bridge offers 13-17
4646
// +kubebuilder:validation:Required
4747
// +kubebuilder:validation:Minimum=13
48-
// +kubebuilder:validation:Maximum=16
48+
// +kubebuilder:validation:Maximum=17
4949
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
5050
PostgresVersion int `json:"majorVersion"`
5151

pkg/apis/postgres-operator.crunchydata.com/v1beta1/pgupgrade_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type PGUpgradeSpec struct {
4949
// The major version of PostgreSQL before the upgrade.
5050
// +kubebuilder:validation:Required
5151
// +kubebuilder:validation:Minimum=10
52-
// +kubebuilder:validation:Maximum=16
52+
// +kubebuilder:validation:Maximum=17
5353
FromPostgresVersion int `json:"fromPostgresVersion"`
5454

5555
// TODO(benjaminjb): define webhook validation to make sure
@@ -60,7 +60,7 @@ type PGUpgradeSpec struct {
6060
// The major version of PostgreSQL to be upgraded to.
6161
// +kubebuilder:validation:Required
6262
// +kubebuilder:validation:Minimum=10
63-
// +kubebuilder:validation:Maximum=16
63+
// +kubebuilder:validation:Maximum=17
6464
ToPostgresVersion int `json:"toPostgresVersion"`
6565

6666
// The image name to use for PostgreSQL containers after upgrade.

pkg/apis/postgres-operator.crunchydata.com/v1beta1/postgrescluster_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type PostgresClusterSpec struct {
112112
// The major version of PostgreSQL installed in the PostgreSQL image
113113
// +kubebuilder:validation:Required
114114
// +kubebuilder:validation:Minimum=10
115-
// +kubebuilder:validation:Maximum=16
115+
// +kubebuilder:validation:Maximum=17
116116
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
117117
PostgresVersion int `json:"postgresVersion"`
118118

0 commit comments

Comments
 (0)