mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 17:27:20 +08:00
Fixes usePasswordFiles (#17773)
Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
This commit is contained in:
committed by
GitHub
parent
eaad838415
commit
14d2b9aa78
@@ -28,4 +28,4 @@ maintainers:
|
||||
name: postgresql
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/post
|
||||
version: 12.6.6
|
||||
version: 12.6.7
|
||||
|
||||
@@ -220,7 +220,7 @@ spec:
|
||||
{{- if or (eq $customUser "postgres") (empty $customUser) }}
|
||||
{{- if .Values.auth.enablePostgresUser }}
|
||||
{{- if .Values.auth.usePasswordFiles }}
|
||||
- name: POSTGRES_POSTGRES_PASSWORD_FILE
|
||||
- name: POSTGRES_PASSWORD_FILE
|
||||
value: {{ printf "/opt/bitnami/postgresql/secrets/%s" (include "postgresql.adminPasswordKey" .) }}
|
||||
{{- else if .Values.auth.postgresPassword }}
|
||||
- name: POSTGRES_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user