diff --git a/chart/templates/deployment-celery-worker.yaml b/chart/templates/deployment-celery-worker.yaml index c7aee3cdae648f0e4a2dca3ac9faa3a8dad8abee..7ea4213040eeb0a25764eb7f44b4459e9e38647e 100644 --- a/chart/templates/deployment-celery-worker.yaml +++ b/chart/templates/deployment-celery-worker.yaml @@ -62,7 +62,7 @@ spec: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.postgresql.dbUser }}-{{ printf "%s-postgresql.credentials.postgresql.acid.zalan.do" .Release.Name }} + name: {{ .Values.postgresql.dbUser }}.{{ printf "%s-postgresql.credentials.postgresql.acid.zalan.do" .Release.Name }} key: password {{end}} - name: POSTGRES_USER diff --git a/chart/templates/deployment-django.yaml b/chart/templates/deployment-django.yaml index 169bd2add444ba7fa5acdd3422a04665e2009a31..6913d93c82b26c6105840b9e15ec6e698ccf5b76 100644 --- a/chart/templates/deployment-django.yaml +++ b/chart/templates/deployment-django.yaml @@ -61,7 +61,7 @@ spec: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.postgresql.dbUser }}-{{ printf "%s-postgresql.credentials.postgresql.acid.zalan.do" .Release.Name }} + name: {{ .Values.postgresql.dbUser }}.{{ printf "%s-postgresql.credentials.postgresql.acid.zalan.do" .Release.Name }} key: password {{end}} - name: POSTGRES_USER