diff --git a/charts/matrix-synapse/templates/secrets.yaml b/charts/matrix-synapse/templates/secrets.yaml index 4b69c56..71b8e3f 100644 --- a/charts/matrix-synapse/templates/secrets.yaml +++ b/charts/matrix-synapse/templates/secrets.yaml @@ -70,6 +70,9 @@ stringData: {{- else }} password: "@@REDIS_PASSWORD@@" {{- end }} + {{- if $redisPort }} + port: {{ $redisPort | quote }} + {{- end }} {{- end }} {{- with .Values.extraSecrets }}