diff --git a/charts/matrix-synapse/templates/secrets.yaml b/charts/matrix-synapse/templates/secrets.yaml index 4b69c56..02f3aea 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 }} + {{- end }} {{- end }} {{- with .Values.extraSecrets }}