Skip to content

Commit

Permalink
Add new PostgreSQL DB supported versions (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto authored Mar 2, 2023
1 parent 1ac01c5 commit 3942c0a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apis/cloud.redhat.com/v1alpha1/clowdapp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type InitContainer struct {
// DatabaseSpec is a struct defining a database to be exposed to a ClowdApp.
type DatabaseSpec struct {
// Defines the Version of the PostGreSQL database, defaults to 12.
// +kubebuilder:validation:Enum:=10;12;13
// +kubebuilder:validation:Enum:=10;12;13;14;15
Version *int32 `json:"version,omitempty"`

// Defines the Name of the database to be created. This will be used as the
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/cloud.redhat.com_clowdapps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ spec:
- 10
- 12
- 13
- 14
- 15
format: int32
type: integer
type: object
Expand Down
2 changes: 2 additions & 0 deletions deploy-mutate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ objects:
- 10
- 12
- 13
- 14
- 15
format: int32
type: integer
type: object
Expand Down
2 changes: 2 additions & 0 deletions deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ objects:
- 10
- 12
- 13
- 14
- 15
format: int32
type: integer
type: object
Expand Down

0 comments on commit 3942c0a

Please sign in to comment.