matrix-synapse: Fix redis existingsecret check

Fixes #47
This commit is contained in:
Alexander Olofsson 2023-08-17 19:07:05 +02:00
parent 44cbbb4f28
commit be7cce227d
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -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@@"