From 7934dfa76cb8bfdf9b5175f9f7add2fa09677b98 Mon Sep 17 00:00:00 2001 From: Adi Muraru Date: Tue, 18 May 2021 12:34:29 +0300 Subject: [PATCH] [INTERNAL] Add Spinnaker annotations for replace strategy on CRDs --- charts/kafka-operator/templates/crds.yaml | 3 +++ config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml | 1 + config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml | 1 + config/base/crds/kafka.banzaicloud.io_kafkausers.yaml | 1 + 4 files changed, 6 insertions(+) diff --git a/charts/kafka-operator/templates/crds.yaml b/charts/kafka-operator/templates/crds.yaml index 9a9ea8d6a..2380556d3 100644 --- a/charts/kafka-operator/templates/crds.yaml +++ b/charts/kafka-operator/templates/crds.yaml @@ -6,6 +6,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: 'true' creationTimestamp: null name: kafkaclusters.kafka.banzaicloud.io spec: @@ -9551,6 +9552,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: "true" creationTimestamp: null name: kafkatopics.kafka.banzaicloud.io spec: @@ -9633,6 +9635,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: "true" creationTimestamp: null name: kafkausers.kafka.banzaicloud.io spec: diff --git a/config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml b/config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml index 07bde31b5..ac7949c7d 100644 --- a/config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml +++ b/config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml @@ -5,6 +5,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: "true" creationTimestamp: null name: kafkaclusters.kafka.banzaicloud.io spec: diff --git a/config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml b/config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml index 5714d6f13..fab68f847 100644 --- a/config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml +++ b/config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml @@ -5,6 +5,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: "true" creationTimestamp: null name: kafkatopics.kafka.banzaicloud.io spec: diff --git a/config/base/crds/kafka.banzaicloud.io_kafkausers.yaml b/config/base/crds/kafka.banzaicloud.io_kafkausers.yaml index fe914ae31..8ace88b63 100644 --- a/config/base/crds/kafka.banzaicloud.io_kafkausers.yaml +++ b/config/base/crds/kafka.banzaicloud.io_kafkausers.yaml @@ -5,6 +5,7 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.5.0 + strategy.spinnaker.io/replace: "true" creationTimestamp: null name: kafkausers.kafka.banzaicloud.io spec: