diff --git a/charts/incubator/synapse/templates/_secret.tpl b/charts/incubator/synapse/templates/_secret.tpl index 73ef5fe976e..57705ad0054 100644 --- a/charts/incubator/synapse/templates/_secret.tpl +++ b/charts/incubator/synapse/templates/_secret.tpl @@ -41,9 +41,7 @@ stringData: {{- end }} {{- if $previous }} - {{- $msk = ( index $previous.data "macaroon_secret_key" ) }} - {{- else }} - + {{- $msk = ( index $previous.stringData "macaroon_secret_key" ) }} {{- end }} macaroon_secret_key: {{ $msk }} diff --git a/charts/incubator/synapse/values.yaml b/charts/incubator/synapse/values.yaml index 2f40457020e..be3c167f9e3 100644 --- a/charts/incubator/synapse/values.yaml +++ b/charts/incubator/synapse/values.yaml @@ -59,6 +59,10 @@ installContainers: - "synapse.app.homeserver" - "--config-path" - "/data/homeserver.yaml" + - "--config-path" + - "/data/secret/secret.yaml" + - "--config-path" + - "/data/custom.yaml" - "--keys-directory" - "/data/keys" - "--generate-keys"