From d424c4eeb50594b7da32756300406eeb29aa992c Mon Sep 17 00:00:00 2001 From: JSchuurmans Date: Fri, 25 Apr 2025 15:42:35 +0200 Subject: [PATCH] Use the same naming convention for DATABASE_PASSWORD as subcharts of postgress uses. --- charts/langfuse/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/langfuse/templates/_helpers.tpl b/charts/langfuse/templates/_helpers.tpl index 654f5244..99ca93d7 100644 --- a/charts/langfuse/templates/_helpers.tpl +++ b/charts/langfuse/templates/_helpers.tpl @@ -181,7 +181,7 @@ Get value of a specific environment variable from additionalEnv if it exists valueFrom: secretKeyRef: name: {{ .Values.postgresql.auth.existingSecret }} - key: {{ required "postgresql.auth.secretKeys.userPasswordKey is required when using an existing secret" .Values.postgresql.auth.secretKeys.userPasswordKey }} + key: {{ required "postgresql.auth.username is required when using an existing secret" .Values.postgresql.auth.username }}-{{ required "postgresql.auth.secretKeys.userPasswordKey is required when using an existing secret" .Values.postgresql.auth.secretKeys.userPasswordKey }} {{- else }} value: {{ required "Using an existing secret or postgresql.auth.password is required" .Values.postgresql.auth.password | quote }} {{- end }}