From ac27fac2b8ae887ae1b61ad12327d265ef6ebd16 Mon Sep 17 00:00:00 2001 From: Dylan Arbour Date: Thu, 22 Mar 2018 14:19:54 -0400 Subject: [PATCH] Add default of "" for string comparison Breaks if `authBackend` is unset but vault is enabled --- stable/concourse/Chart.yaml | 2 +- stable/concourse/templates/web-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/concourse/Chart.yaml b/stable/concourse/Chart.yaml index 9b4434c27057..678604d5e617 100644 --- a/stable/concourse/Chart.yaml +++ b/stable/concourse/Chart.yaml @@ -1,5 +1,5 @@ name: concourse -version: 1.0.5 +version: 1.0.6 appVersion: 3.9.0 description: Concourse is a simple and scalable CI system. icon: https://avatars1.githubusercontent.com/u/7809479 diff --git a/stable/concourse/templates/web-deployment.yaml b/stable/concourse/templates/web-deployment.yaml index 738f7e396df8..6cbe9e3920db 100644 --- a/stable/concourse/templates/web-deployment.yaml +++ b/stable/concourse/templates/web-deployment.yaml @@ -204,7 +204,7 @@ spec: value: "/concourse-vault/client.cert" - name: CONCOURSE_VAULT_CLIENT_KEY value: "/concourse-vault/client.key" - {{- if eq .Values.credentialManager.vault.authBackend "approle" }} + {{- if eq (default "" .Values.credentialManager.vault.authBackend) "approle" }} - name: CONCOURSE_VAULT_APPROLE_ID valueFrom: secretKeyRef: