diff --git a/charts/templates/nais.io_applications.yaml b/charts/templates/nais.io_applications.yaml index cc5a63e..8324992 100644 --- a/charts/templates/nais.io_applications.yaml +++ b/charts/templates/nais.io_applications.yaml @@ -727,6 +727,7 @@ spec: - POSTGRES_13 - POSTGRES_14 - POSTGRES_15 + - POSTGRES_16 type: string required: - type diff --git a/charts/templates/nais.io_naisjobs.yaml b/charts/templates/nais.io_naisjobs.yaml index aae9eee..87fe903 100644 --- a/charts/templates/nais.io_naisjobs.yaml +++ b/charts/templates/nais.io_naisjobs.yaml @@ -688,6 +688,7 @@ spec: - POSTGRES_13 - POSTGRES_14 - POSTGRES_15 + - POSTGRES_16 type: string required: - type diff --git a/config/crd/bases/nais.io_applications.yaml b/config/crd/bases/nais.io_applications.yaml index cc5a63e..8324992 100644 --- a/config/crd/bases/nais.io_applications.yaml +++ b/config/crd/bases/nais.io_applications.yaml @@ -727,6 +727,7 @@ spec: - POSTGRES_13 - POSTGRES_14 - POSTGRES_15 + - POSTGRES_16 type: string required: - type diff --git a/config/crd/bases/nais.io_naisjobs.yaml b/config/crd/bases/nais.io_naisjobs.yaml index aae9eee..87fe903 100644 --- a/config/crd/bases/nais.io_naisjobs.yaml +++ b/config/crd/bases/nais.io_naisjobs.yaml @@ -688,6 +688,7 @@ spec: - POSTGRES_13 - POSTGRES_14 - POSTGRES_15 + - POSTGRES_16 type: string required: - type diff --git a/pkg/apis/nais.io/v1/naiserator_types.go b/pkg/apis/nais.io/v1/naiserator_types.go index 1f60dda..0b232ad 100644 --- a/pkg/apis/nais.io/v1/naiserator_types.go +++ b/pkg/apis/nais.io/v1/naiserator_types.go @@ -482,6 +482,7 @@ const ( CloudSqlInstanceTypePostgres13 CloudSqlInstanceType = "POSTGRES_13" CloudSqlInstanceTypePostgres14 CloudSqlInstanceType = "POSTGRES_14" CloudSqlInstanceTypePostgres15 CloudSqlInstanceType = "POSTGRES_15" + CloudSqlInstanceTypePostgres16 CloudSqlInstanceType = "POSTGRES_16" ) type CloudSqlInstanceDiskType string @@ -525,7 +526,7 @@ type CloudSqlFlag struct { type CloudSqlInstance struct { // PostgreSQL version. - // +kubebuilder:validation:Enum=POSTGRES_11;POSTGRES_12;POSTGRES_13;POSTGRES_14;POSTGRES_15 + // +kubebuilder:validation:Enum=POSTGRES_11;POSTGRES_12;POSTGRES_13;POSTGRES_14;POSTGRES_15;POSTGRES_16 // +kubebuilder:validation:Required // +nais:doc:Link="https://cloud.google.com/sql/docs/postgres/instance-settings" Type CloudSqlInstanceType `json:"type"`