From 041494e110e086f3d0f9fae1aefc8c7a675594ed Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Mon, 31 Jan 2022 15:16:38 +0100 Subject: [PATCH] fix(synapse): Try another way of defining the macaroon secret --- charts/incubator/synapse/Chart.yaml | 2 +- charts/incubator/synapse/templates/_secret.tpl | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/charts/incubator/synapse/Chart.yaml b/charts/incubator/synapse/Chart.yaml index b9b1a6d221b..6fa635dd911 100644 --- a/charts/incubator/synapse/Chart.yaml +++ b/charts/incubator/synapse/Chart.yaml @@ -24,7 +24,7 @@ maintainers: name: synapse sources: [] type: application -version: 0.0.5 +version: 0.0.6 annotations: truecharts.org/catagories: | - cloud diff --git a/charts/incubator/synapse/templates/_secret.tpl b/charts/incubator/synapse/templates/_secret.tpl index 5fb45b6f9e6..a1bb00a82b9 100644 --- a/charts/incubator/synapse/templates/_secret.tpl +++ b/charts/incubator/synapse/templates/_secret.tpl @@ -42,11 +42,10 @@ stringData: {{- if $previous }} {{- $msk = ( index $previous.data "macaroon_secret_key" ) }} - macaroon_secret_key: {{ ( index $previous.data "macaroon_secret_key" ) }} {{- else }} {{- $msk = randAlphaNum 50 }} - macaroon_secret_key: {{ $msk | quote }} {{- end }} + macaroon_secret_key: {{ $msk }} {{- if .Values.coturn.enabled -}} turn_shared_secret: {{ include "matrix.coturn.sharedSecret" . }}