diff --git a/charts/templates/nais.io_applications.yaml b/charts/templates/nais.io_applications.yaml index 8364648e..8788e8a1 100644 --- a/charts/templates/nais.io_applications.yaml +++ b/charts/templates/nais.io_applications.yaml @@ -733,6 +733,7 @@ spec: - POSTGRES_14 - POSTGRES_15 - POSTGRES_16 + - POSTGRES_17 type: string required: - tier diff --git a/charts/templates/nais.io_naisjobs.yaml b/charts/templates/nais.io_naisjobs.yaml index 27bea88c..eceaf68c 100644 --- a/charts/templates/nais.io_naisjobs.yaml +++ b/charts/templates/nais.io_naisjobs.yaml @@ -694,6 +694,7 @@ spec: - POSTGRES_14 - POSTGRES_15 - POSTGRES_16 + - POSTGRES_17 type: string required: - tier diff --git a/config/crd/bases/nais.io_applications.yaml b/config/crd/bases/nais.io_applications.yaml index 8364648e..8788e8a1 100644 --- a/config/crd/bases/nais.io_applications.yaml +++ b/config/crd/bases/nais.io_applications.yaml @@ -733,6 +733,7 @@ spec: - POSTGRES_14 - POSTGRES_15 - POSTGRES_16 + - POSTGRES_17 type: string required: - tier diff --git a/config/crd/bases/nais.io_naisjobs.yaml b/config/crd/bases/nais.io_naisjobs.yaml index 27bea88c..eceaf68c 100644 --- a/config/crd/bases/nais.io_naisjobs.yaml +++ b/config/crd/bases/nais.io_naisjobs.yaml @@ -694,6 +694,7 @@ spec: - POSTGRES_14 - POSTGRES_15 - POSTGRES_16 + - POSTGRES_17 type: string required: - tier diff --git a/pkg/apis/nais.io/v1/naiserator_types.go b/pkg/apis/nais.io/v1/naiserator_types.go index 58bed1cc..d1b8e86c 100644 --- a/pkg/apis/nais.io/v1/naiserator_types.go +++ b/pkg/apis/nais.io/v1/naiserator_types.go @@ -502,6 +502,7 @@ const ( CloudSqlInstanceTypePostgres14 CloudSqlInstanceType = "POSTGRES_14" CloudSqlInstanceTypePostgres15 CloudSqlInstanceType = "POSTGRES_15" CloudSqlInstanceTypePostgres16 CloudSqlInstanceType = "POSTGRES_16" + CloudSqlInstanceTypePostgres17 CloudSqlInstanceType = "POSTGRES_17" ) type CloudSqlInstanceDiskType string @@ -545,7 +546,7 @@ type CloudSqlFlag struct { type CloudSqlInstance struct { // PostgreSQL version. - // +kubebuilder:validation:Enum=POSTGRES_11;POSTGRES_12;POSTGRES_13;POSTGRES_14;POSTGRES_15;POSTGRES_16 + // +kubebuilder:validation:Enum=POSTGRES_11;POSTGRES_12;POSTGRES_13;POSTGRES_14;POSTGRES_15;POSTGRES_16;POSTGRES_17 // +kubebuilder:validation:Required // +nais:doc:Link="https://cloud.google.com/sql/docs/postgres/instance-settings" Type CloudSqlInstanceType `json:"type"`