From e49e43b289f73180e63f061b4029e0799fcf2d5e Mon Sep 17 00:00:00 2001 From: bookwalker Date: Sun, 17 Nov 2024 11:36:36 +0100 Subject: [PATCH] Fix template rendering when vault backend is enabled Resolves #365 --- templates/web-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/web-deployment.yaml b/templates/web-deployment.yaml index 0e379eb..c1981cb 100644 --- a/templates/web-deployment.yaml +++ b/templates/web-deployment.yaml @@ -611,7 +611,7 @@ spec: - name: CONCOURSE_VAULT_CA_CERT value: "{{ .Values.web.vaultSecretsPath }}/ca.cert" {{- end }} - {{- if eq .Values.concourse.web.vault.authBackend "token" and not .Values.concourse.web.vault.tokenPath }} + {{- if and (eq .Values.concourse.web.vault.authBackend "token") (not .Values.concourse.web.vault.tokenPath) }} - name: CONCOURSE_VAULT_CLIENT_TOKEN valueFrom: secretKeyRef: