Skip to content

Commit

Permalink
Add default of "" for string comparison (helm#4420)
Browse files Browse the repository at this point in the history
Breaks if `authBackend` is unset but vault is enabled

Signed-off-by: voron <av@arilot.com>
  • Loading branch information
arbourd authored and voron committed Sep 5, 2018
1 parent 1bc62d3 commit f508eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/concourse/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/concourse/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f508eb9

Please sign in to comment.