From d642502019b14e7766c746b17a714cb05990aac1 Mon Sep 17 00:00:00 2001 From: fkf9 Date: Fri, 3 Sep 2021 17:10:33 +0200 Subject: [PATCH] correctly reference Values --- charts/matrix-synapse/templates/worker-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/matrix-synapse/templates/worker-deployment.yaml b/charts/matrix-synapse/templates/worker-deployment.yaml index ce30619..fcbb2ba 100644 --- a/charts/matrix-synapse/templates/worker-deployment.yaml +++ b/charts/matrix-synapse/templates/worker-deployment.yaml @@ -87,14 +87,14 @@ spec: - name: POSTGRES_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" $) }} + name: {{ $.Values.postgresql.existingSecret | default (include "matrix-synapse.postgresql.fullname" $) }} key: postgresql-password {{- end }} {{- if and $.Values.redis.enabled (default $.Values.redis.usePassword true) }} - name: REDIS_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.redis.existingSecret | default (include "matrix-synapse.redis.fullname" $) }} + name: {{ $.Values.redis.existingSecret | default (include "matrix-synapse.redis.fullname" $) }} key: redis-password {{- end }} {{- with $config.extraEnv | default $default.extraEnv }}