Skip to content

Commit

Permalink
fix: correct fallback when no existingSecret (#623)
Browse files Browse the repository at this point in the history
Signed-off-by: wilmarguida <[email protected]>
  • Loading branch information
wilmardo authored Jul 25, 2022
1 parent 0047b01 commit f119faa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions charts/keycloakx/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ Create the service DNS name.
- name: KC_DB_PASSWORD
valueFrom:
secretKeyRef:
{{- if .Values.database.existingSecret }}
name: {{ .Values.database.existingSecret | default (printf "%s-database" (include "keycloak.fullname" . ))}}
{{- end }}
key: password
{{- end }}
{{- end -}}

0 comments on commit f119faa

Please sign in to comment.