From 57359a22d2423f1b7d626f71546cd95ed438fe06 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Mon, 10 Aug 2020 12:33:01 +0200 Subject: [PATCH] matrix-synapse: Unify default usage slightly --- charts/matrix-synapse/templates/well-known.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/matrix-synapse/templates/well-known.yaml b/charts/matrix-synapse/templates/well-known.yaml index 4b3ff1f..dfa1b1a 100644 --- a/charts/matrix-synapse/templates/well-known.yaml +++ b/charts/matrix-synapse/templates/well-known.yaml @@ -29,7 +29,7 @@ data: accesslog.filename = "/dev/stderr" server.json: |- -{{ dict "m.server" (printf "%s:%d" (default .Values.wellknown.host .Values.config.serverName) (default .Values.wellknown.port 443)) | toJson | indent 4 }} +{{ dict "m.server" (printf "%s:%d" (.Values.wellknown.host | default .Values.config.serverName) (.Values.wellknown.port | default 443)) | toJson | indent 4 }} --- apiVersion: v1 kind: Service