Skip to content

Commit

Permalink
Add pg17 (#240)
Browse files Browse the repository at this point in the history
* Add pg17

Co-authored-by: sindrerh2 <[email protected]>

* make generate

Co-authored-by: sindrerh2 <[email protected]>

---------

Co-authored-by: sindrerh2 <[email protected]>
  • Loading branch information
Reasonable-Solutions and sindrerh2 authored Dec 4, 2024
1 parent 4ad0119 commit 1713635
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 @@ -733,6 +733,7 @@ spec:
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
- POSTGRES_17
type: string
required:
- tier
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 @@ -694,6 +694,7 @@ spec:
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
- POSTGRES_17
type: string
required:
- tier
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 @@ -733,6 +733,7 @@ spec:
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
- POSTGRES_17
type: string
required:
- tier
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 @@ -694,6 +694,7 @@ spec:
- POSTGRES_14
- POSTGRES_15
- POSTGRES_16
- POSTGRES_17
type: string
required:
- tier
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 @@ -502,6 +502,7 @@ const (
CloudSqlInstanceTypePostgres14 CloudSqlInstanceType = "POSTGRES_14"
CloudSqlInstanceTypePostgres15 CloudSqlInstanceType = "POSTGRES_15"
CloudSqlInstanceTypePostgres16 CloudSqlInstanceType = "POSTGRES_16"
CloudSqlInstanceTypePostgres17 CloudSqlInstanceType = "POSTGRES_17"
)

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

0 comments on commit 1713635

Please sign in to comment.