matrix-synapse: Fix redis password selection
Should now only use internal redis password when the internal redis is enabled. Fixes #34
This commit is contained in:
parent
9b4f59f5ed
commit
b8fdc7b187
1 changed files with 2 additions and 2 deletions
|
@ -262,9 +262,9 @@ Set redis port
|
||||||
Set redis password
|
Set redis password
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "matrix-synapse.redis.password" -}}
|
{{- define "matrix-synapse.redis.password" -}}
|
||||||
{{- if .Values.redis.password -}}
|
{{- if (and .Values.redis.enabled .Values.redis.password) -}}
|
||||||
{{ .Values.redis.password }}
|
{{ .Values.redis.password }}
|
||||||
{{- else if .Values.redis.auth.password -}}
|
{{- else if (and .Values.redis.enabled .Values.redis.auth.password) -}}
|
||||||
{{ .Values.redis.auth.password }}
|
{{ .Values.redis.auth.password }}
|
||||||
{{- else if .Values.externalRedis.password -}}
|
{{- else if .Values.externalRedis.password -}}
|
||||||
{{ .Values.externalRedis.password }}
|
{{ .Values.externalRedis.password }}
|
||||||
|
|
Loading…
Reference in a new issue