From 1506a92ed2b1cdbf0c0340d6802e54e0400820cb Mon Sep 17 00:00:00 2001 From: Max Fedotov Date: Thu, 1 Aug 2024 17:42:24 +0200 Subject: [PATCH] fix(helm): don't render CapsuleConfiguration if crds.exclusive is set Signed-off-by: Max Fedotov --- charts/capsule/templates/configuration-default.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/capsule/templates/configuration-default.yaml b/charts/capsule/templates/configuration-default.yaml index bd5b6513b..e4a7754c9 100644 --- a/charts/capsule/templates/configuration-default.yaml +++ b/charts/capsule/templates/configuration-default.yaml @@ -1,3 +1,4 @@ +{{- if not $.Values.crds.exclusive }} apiVersion: capsule.clastix.io/v1beta2 kind: CapsuleConfiguration metadata: @@ -24,3 +25,4 @@ spec: nodeMetadata: {{- toYaml . | nindent 4 }} {{- end }} +{{- end }} \ No newline at end of file