[bitnami/keycloack] Fix externalDatabase password (#7863)

* [bitnami/keycloack] Fix externalDatabase password

* Follow the standar approach
This commit is contained in:
Miguel Ángel Cabrera Miñagorri
2021-10-27 11:09:05 +02:00
committed by GitHub
parent 9a5a9f3e1c
commit 77c8bbfcab
2 changed files with 6 additions and 2 deletions

View File

@@ -26,4 +26,4 @@ name: keycloak
sources:
- https://github.com/bitnami/bitnami-docker-keycloak
- https://github.com/keycloak/keycloak
version: 5.1.4
version: 5.1.5

View File

@@ -161,7 +161,11 @@ Return the Database encrypted password
{{- printf "%s" (include "keycloak.postgresql.fullname" .) -}}
{{- end -}}
{{- else -}}
{{- printf "%s" (include "common.secrets.name" (dict "existingSecret" .Values.auth.existingSecret "context" $)) -}}
{{- if .Values.externalDatabase.existingSecret -}}
{{- printf "%s" (include "common.secrets.name" (dict "existingSecret" .Values.externalDatabase.existingSecret "context" $)) -}}
{{- else -}}
{{- printf "%s" (include "common.secrets.name" (dict "existingSecret" .Values.auth.existingSecret "context" $)) -}}
{{- end }}
{{- end -}}
{{- end -}}