diff --git a/apis/exoscale/v1/dbaas_exoscale_postgresql.go b/apis/exoscale/v1/dbaas_exoscale_postgresql.go index 11f5e05b9..b24fc3837 100644 --- a/apis/exoscale/v1/dbaas_exoscale_postgresql.go +++ b/apis/exoscale/v1/dbaas_exoscale_postgresql.go @@ -58,11 +58,11 @@ type ExoscalePostgreSQLParameters struct { type ExoscalePostgreSQLServiceSpec struct { ExoscaleDBaaSServiceSpec `json:",inline"` - // +kubebuilder:validation:Enum="14" - // +kubebuilder:default="14" + // +kubebuilder:validation:Enum="14";"15";"16" + // +kubebuilder:default="16" // MajorVersion contains the major version for PostgreSQL. - // Currently only "14" is supported. Leave it empty to always get the latest supported version. + // Leave it empty to always get the latest supported version. MajorVersion string `json:"majorVersion,omitempty"` // PGSettings contains additional PostgreSQL settings. diff --git a/crds/exoscale.appcat.vshn.io_exoscalepostgresqls.yaml b/crds/exoscale.appcat.vshn.io_exoscalepostgresqls.yaml index 848ff4bec..2fdee1bcf 100644 --- a/crds/exoscale.appcat.vshn.io_exoscalepostgresqls.yaml +++ b/crds/exoscale.appcat.vshn.io_exoscalepostgresqls.yaml @@ -107,12 +107,14 @@ spec: description: Service contains Exoscale PostgreSQL DBaaS specific properties properties: majorVersion: - default: "14" + default: "16" description: |- MajorVersion contains the major version for PostgreSQL. - Currently only "14" is supported. Leave it empty to always get the latest supported version. + Leave it empty to always get the latest supported version. enum: - "14" + - "15" + - "16" type: string pgSettings: description: PGSettings contains additional PostgreSQL settings.