fix(synapse): Try another way of defining the macaroon secret

This commit is contained in:
kjeld Schouten-Lebbing
2022-01-31 15:16:38 +01:00
parent e6cefb44a1
commit 041494e110
2 changed files with 2 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ maintainers:
name: synapse
sources: []
type: application
version: 0.0.5
version: 0.0.6
annotations:
truecharts.org/catagories: |
- cloud

View File

@@ -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" . }}