mirror of
https://github.com/bitnami/charts.git
synced 2026-02-19 03:17:10 +08:00
Postgresql .Values.global.postgresql.auth.username should overwrite .Values.auth.username, (#8966)
This commit is contained in:
@@ -26,4 +26,4 @@ name: postgresql
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-postgresql
|
||||
- https://www.postgresql.org/
|
||||
version: 11.0.2
|
||||
version: 11.0.3
|
||||
|
||||
@@ -16,7 +16,7 @@ data:
|
||||
{{- if .Values.auth.enablePostgresUser }}
|
||||
postgres-password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "common.names.fullname" .) "key" "postgres-password" "providedValues" (list "global.postgresql.auth.postgresPassword" "auth.postgresPassword") "context" $) }}
|
||||
{{- end }}
|
||||
{{- if not (empty .Values.auth.username) }}
|
||||
{{- if not (empty (include "postgresql.username" .)) }}
|
||||
password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "common.names.fullname" .) "key" "password" "providedValues" (list "global.postgresql.auth.password" "auth.password") "context" $) }}
|
||||
{{- end }}
|
||||
{{- if eq .Values.architecture "replication" }}
|
||||
|
||||
Reference in New Issue
Block a user