Skip to content

Commit

Permalink
Remove specific postgres versions from the CRD (valid versions are co…
Browse files Browse the repository at this point in the history
…nfigured somewhere else) (#231)
  • Loading branch information
eberlep authored Jun 17, 2021
1 parent 3f63a4f commit fa01cc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions api/v1/postgres_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ type PostgresSpec struct {
NumberOfInstances int32 `json:"numberOfInstances,omitempty"`

// Version is the version of Postgre-as-a-Service
// +kubebuilder:validation:Enum="12";
// +kubebuilder:default="12"
Version string `json:"version,omitempty"`

// Size of the database
Expand Down
3 changes: 0 additions & 3 deletions config/crd/bases/database.fits.cloud_postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ spec:
description: Tenant metal tenant
type: string
version:
default: "12"
description: Version is the version of Postgre-as-a-Service
enum:
- "12"
type: string
type: object
status:
Expand Down

0 comments on commit fa01cc7

Please sign in to comment.