Skip to content

Commit

Permalink
Merge pull request #227 from nais/postgres_16
Browse files Browse the repository at this point in the history
feat: tilby Postgres 16
  • Loading branch information
Kyrremann authored Jul 4, 2024
2 parents 8b438c1 + 9f21a5c commit 2f37267
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/templates/nais.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ spec:
- POSTGRES_13
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
type: string
required:
- type
Expand Down
1 change: 1 addition & 0 deletions charts/templates/nais.io_naisjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ spec:
- POSTGRES_13
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
type: string
required:
- type
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/nais.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ spec:
- POSTGRES_13
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
type: string
required:
- type
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/nais.io_naisjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ spec:
- POSTGRES_13
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
type: string
required:
- type
Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/nais.io/v1/naiserator_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ const (
CloudSqlInstanceTypePostgres13 CloudSqlInstanceType = "POSTGRES_13"
CloudSqlInstanceTypePostgres14 CloudSqlInstanceType = "POSTGRES_14"
CloudSqlInstanceTypePostgres15 CloudSqlInstanceType = "POSTGRES_15"
CloudSqlInstanceTypePostgres16 CloudSqlInstanceType = "POSTGRES_16"
)

type CloudSqlInstanceDiskType string
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit 2f37267

Please sign in to comment.