diff --git a/charts/matrix-synapse/templates/secrets.yaml b/charts/matrix-synapse/templates/secrets.yaml index 6236124..36ba30f 100644 --- a/charts/matrix-synapse/templates/secrets.yaml +++ b/charts/matrix-synapse/templates/secrets.yaml @@ -71,7 +71,7 @@ stringData: port: {{ $redisPort }} {{- end }} {{- if or .Values.redis.auth.enabled .Values.redis.usePassword .Values.redis.password .Values.redis.auth.password .Values.externalRedis.password }} - {{- if and $redisPass (not .Values.redis.existingSecret) }} + {{- if and $redisPass (not .Values.redis.auth.existingSecret) }} password: {{ $redisPass | quote }} {{- else }} password: "@@REDIS_PASSWORD@@"