From 8930090dc63cc50388a0ed06629f52db972c92ce Mon Sep 17 00:00:00 2001 From: Max Fedotov Date: Thu, 1 Aug 2024 17:54:50 +0200 Subject: [PATCH] fix(helm): don't render capsuleconfiguration if crds.exclusive is set (#1148) 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 bd5b6513..e4a7754c 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