Skip to content

Commit cc8f544

Browse files
committed
Update postgrescluster and pgupgrade APIs to allow pg18
1 parent c7c07f4 commit cc8f544

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ spec:
964964
fromPostgresVersion:
965965
description: The major version of PostgreSQL before the upgrade.
966966
format: int32
967-
maximum: 17
967+
maximum: 18
968968
minimum: 11
969969
type: integer
970970
image:
@@ -1094,7 +1094,7 @@ spec:
10941094
toPostgresVersion:
10951095
description: The major version of PostgreSQL to be upgraded to.
10961096
format: int32
1097-
maximum: 17
1097+
maximum: 18
10981098
minimum: 11
10991099
type: integer
11001100
tolerations:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12823,7 +12823,7 @@ spec:
1282312823
postgresVersion:
1282412824
description: The major version of PostgreSQL installed in the PostgreSQL
1282512825
image
12826-
maximum: 17
12826+
maximum: 18
1282712827
minimum: 11
1282812828
type: integer
1282912829
proxy:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ type PGUpgradeSettings struct {
8484
// The major version of PostgreSQL before the upgrade.
8585
// ---
8686
// +kubebuilder:validation:Minimum=11
87-
// +kubebuilder:validation:Maximum=17
87+
// +kubebuilder:validation:Maximum=18
8888
// +required
8989
FromPostgresVersion int32 `json:"fromPostgresVersion"`
9090

@@ -98,7 +98,7 @@ type PGUpgradeSettings struct {
9898
// The major version of PostgreSQL to be upgraded to.
9999
// ---
100100
// +kubebuilder:validation:Minimum=11
101-
// +kubebuilder:validation:Maximum=17
101+
// +kubebuilder:validation:Maximum=18
102102
// +required
103103
ToPostgresVersion int32 `json:"toPostgresVersion"`
104104

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ type PostgresClusterSpec struct {
131131
// The major version of PostgreSQL installed in the PostgreSQL image
132132
// +kubebuilder:validation:Required
133133
// +kubebuilder:validation:Minimum=11
134-
// +kubebuilder:validation:Maximum=17
134+
// +kubebuilder:validation:Maximum=18
135135
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
136136
PostgresVersion int `json:"postgresVersion"`
137137

0 commit comments

Comments
 (0)