Skip to content

Commit fa01cc7

Browse files
authored
Remove specific postgres versions from the CRD (valid versions are configured somewhere else) (#231)
1 parent 3f63a4f commit fa01cc7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

api/v1/postgres_types.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ type PostgresSpec struct {
129129
NumberOfInstances int32 `json:"numberOfInstances,omitempty"`
130130

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

136134
// Size of the database

config/crd/bases/database.fits.cloud_postgres.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,7 @@ spec:
113113
description: Tenant metal tenant
114114
type: string
115115
version:
116-
default: "12"
117116
description: Version is the version of Postgre-as-a-Service
118-
enum:
119-
- "12"
120117
type: string
121118
type: object
122119
status:

0 commit comments

Comments
 (0)