From b64bef41c6a5684b4f9fc5ea7722a8e8fa85c5e7 Mon Sep 17 00:00:00 2001 From: Lucas Fernando Cardoso Nunes Date: Sat, 6 May 2023 09:20:28 -0300 Subject: [PATCH] Don't apply ksql-queries-configmap.yaml if ksql.headless=false --- charts/cp-ksql-server/templates/ksql-queries-configmap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/cp-ksql-server/templates/ksql-queries-configmap.yaml b/charts/cp-ksql-server/templates/ksql-queries-configmap.yaml index ff4c6867..2c5c176c 100644 --- a/charts/cp-ksql-server/templates/ksql-queries-configmap.yaml +++ b/charts/cp-ksql-server/templates/ksql-queries-configmap.yaml @@ -1,3 +1,4 @@ +{{- if .Values.ksql.headless }} apiVersion: v1 kind: ConfigMap metadata: @@ -13,3 +14,4 @@ data: {{ . }}: |- {{ $files.Get . | indent 4 }} {{- end }} +{{- end }}