From e42fb5f8060b6577773450471f7fbce94dde8e61 Mon Sep 17 00:00:00 2001 From: Markus Engel <12701125+mrksngl@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:09:03 +0100 Subject: [PATCH] fix: syntax error in deployment (#473) Signed-off-by: Markus Engel Co-authored-by: Itay Grudev --- charts/cloudnative-pg/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cloudnative-pg/templates/deployment.yaml b/charts/cloudnative-pg/templates/deployment.yaml index 4b33780b5..7e0bce726 100644 --- a/charts/cloudnative-pg/templates/deployment.yaml +++ b/charts/cloudnative-pg/templates/deployment.yaml @@ -82,7 +82,7 @@ spec: fieldPath: metadata.namespace - name: MONITORING_QUERIES_CONFIGMAP value: "{{ .Values.monitoringQueriesConfigMap.name }}" - {{ if not .Values.config.clusterWide -}} + {{- if not .Values.config.clusterWide }} - name: WATCH_NAMESPACE value: "{{ .Release.Namespace }}" {{- end }}