From fa01cc7210565e447d1f812fdd444141befb4e16 Mon Sep 17 00:00:00 2001 From: eberlep Date: Thu, 17 Jun 2021 16:08:12 +0200 Subject: [PATCH] Remove specific postgres versions from the CRD (valid versions are configured somewhere else) (#231) --- api/v1/postgres_types.go | 2 -- config/crd/bases/database.fits.cloud_postgres.yaml | 3 --- 2 files changed, 5 deletions(-) diff --git a/api/v1/postgres_types.go b/api/v1/postgres_types.go index 49414fd4..53b67af8 100644 --- a/api/v1/postgres_types.go +++ b/api/v1/postgres_types.go @@ -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 diff --git a/config/crd/bases/database.fits.cloud_postgres.yaml b/config/crd/bases/database.fits.cloud_postgres.yaml index b387019e..7ce86248 100644 --- a/config/crd/bases/database.fits.cloud_postgres.yaml +++ b/config/crd/bases/database.fits.cloud_postgres.yaml @@ -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: