From d8cf24f6b3c769cf644b7a07eb46d8ab80a83d12 Mon Sep 17 00:00:00 2001 From: Miles Garnsey Date: Thu, 19 Oct 2023 07:34:23 +0900 Subject: [PATCH] Try making httpManagement optional. --- apis/reaper/v1alpha1/reaper_types.go | 1 + config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml | 2 -- config/crd/bases/reaper.k8ssandra.io_reapers.yaml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apis/reaper/v1alpha1/reaper_types.go b/apis/reaper/v1alpha1/reaper_types.go index 9154d8b29..256a4ace7 100644 --- a/apis/reaper/v1alpha1/reaper_types.go +++ b/apis/reaper/v1alpha1/reaper_types.go @@ -143,6 +143,7 @@ type ReaperTemplate struct { ResourceMeta *meta.ResourceMeta `json:"metadata,omitempty"` // +kubebuilder:default={enabled: false} + // +optional HttpManagement HttpManagement `json:"httpManagement"` } diff --git a/config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml b/config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml index 3b2921b54..c08c840d1 100644 --- a/config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml +++ b/config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml @@ -29795,8 +29795,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - required: - - httpManagement type: object secretsProvider: default: internal diff --git a/config/crd/bases/reaper.k8ssandra.io_reapers.yaml b/config/crd/bases/reaper.k8ssandra.io_reapers.yaml index b34f53da4..903457d11 100644 --- a/config/crd/bases/reaper.k8ssandra.io_reapers.yaml +++ b/config/crd/bases/reaper.k8ssandra.io_reapers.yaml @@ -2428,7 +2428,6 @@ spec: x-kubernetes-map-type: atomic required: - datacenterRef - - httpManagement type: object status: description: ReaperStatus defines the observed state of Reaper