From 3e9579126d29bb2b23a3258c345a5fec5c01f1b0 Mon Sep 17 00:00:00 2001 From: Roman <4456572+sturman@users.noreply.github.com> Date: Mon, 6 Mar 2023 15:20:16 +0200 Subject: [PATCH] Fix PostgreSQL secret name (#70) * Fix secret reference * Bump version --- charts/unleash/Chart.yaml | 2 +- charts/unleash/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index 7a33dec..ef9bcdd 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -15,4 +15,4 @@ sources: - https://github.com/Unleash/unleash - https://github.com/Unleash/helm-charts type: application -version: 2.7.5 +version: 2.7.6 diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index 460a67e..28cdaf0 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -36,7 +36,7 @@ spec: valueFrom: secretKeyRef: name: {{ if .Values.dbConfig.useExistingSecret.name }}{{ .Values.dbConfig.useExistingSecret.name }}{{ else }}{{ .Values.postgresql.fullnameOverride }}{{ end }} - key: {{ if .Values.dbConfig.useExistingSecret.key }}{{ .Values.dbConfig.useExistingSecret.key }}{{ else }}postgresql-password{{ end }} + key: {{ if .Values.dbConfig.useExistingSecret.key }}{{ .Values.dbConfig.useExistingSecret.key }}{{ else }}postgres-password{{ end }} {{- end }} - name: DATABASE value: "{{ .Values.dbConfig.database }}"