From 152df062542a018da5ace2d7c5782a1d3977d136 Mon Sep 17 00:00:00 2001 From: Thomas Menard <tmenard@pastreur.fr> Date: Thu, 11 Apr 2024 16:53:54 +0200 Subject: [PATCH] --- chart/templates/deployment-celery-worker.yaml | 2 +- chart/templates/deployment-django.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/deployment-celery-worker.yaml b/chart/templates/deployment-celery-worker.yaml index 8c5c8dec..c7aee3cd 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: {{ printf "%s.%s-postgresql.credentials.postgresql.acid.zalan.do" .Values.dbUser .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 e6ad0980..169bd2ad 100644 --- a/chart/templates/deployment-django.yaml +++ b/chart/templates/deployment-django.yaml @@ -61,7 +61,7 @@ spec: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: - name: {{ printf "%s.%s-postgresql.credentials.postgresql.acid.zalan.do" .Values.dbUser .Release.Name }} + name: {{ .Values.postgresql.dbUser }}-{{ printf "%s-postgresql.credentials.postgresql.acid.zalan.do" .Release.Name }} key: password {{end}} - name: POSTGRES_USER -- GitLab