From 76fb34ceef64cc632c7b396ebcbf6e41c41df7c6 Mon Sep 17 00:00:00 2001 From: bakito Date: Fri, 4 Feb 2022 08:11:55 +0100 Subject: [PATCH] fix LEADER_ELECTION_RESOURCE_LOCK var in deployment --- helm/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index bba277f..963427a 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -51,7 +51,7 @@ spec: value: "{{ .Values.webhook.enabled }}" {{- if .Values.eventLogger.leaderElectionResourceLock }} - name: LEADER_ELECTION_RESOURCE_LOCK - value: .Values.eventLogger.leaderElectionResourceLock + value: {{. Values.eventLogger.leaderElectionResourceLock }} {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }}