mirror of
https://github.com/bitnami/charts.git
synced 2026-03-02 08:05:03 +08:00
[bitnami/keycloack] Fix externalDatabase password (#7863)
* [bitnami/keycloack] Fix externalDatabase password * Follow the standar approach
This commit is contained in:
committed by
GitHub
parent
9a5a9f3e1c
commit
77c8bbfcab
@@ -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
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user