Fix postgresql.username

This commit is contained in:
Alejandro Moreno
2019-12-24 13:32:09 +00:00
parent 451cf82bd7
commit e7a82a284d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: postgresql-ha
version: 1.1.2
version: 1.1.4
appVersion: 11.6.0
description: Chart for PostgreSQL with HA architecture (using Replication Manager (repmgr) and Pgpool).
keywords:

View File

@@ -81,7 +81,7 @@ spec:
value: {{ .Values.persistence.mountPath | quote }}
- name: PGDATA
value: {{ printf "%s/%s" .Values.persistence.mountPath "data" | quote }}
- name: POSTGRES_USERNAME
- name: POSTGRES_USER
value: {{ (include "postgresql-ha.postgresqlUsername" .) | quote }}
{{- if .Values.postgresql.usePasswordFile }}
- name: POSTGRES_PASSWORD_FILE