fix(synapse): Try another way of defining the macaroon secret
This commit is contained in:
@@ -24,7 +24,7 @@ maintainers:
|
|||||||
name: synapse
|
name: synapse
|
||||||
sources: []
|
sources: []
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.5
|
version: 0.0.6
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- cloud
|
- cloud
|
||||||
|
|||||||
@@ -42,11 +42,10 @@ stringData:
|
|||||||
|
|
||||||
{{- if $previous }}
|
{{- if $previous }}
|
||||||
{{- $msk = ( index $previous.data "macaroon_secret_key" ) }}
|
{{- $msk = ( index $previous.data "macaroon_secret_key" ) }}
|
||||||
macaroon_secret_key: {{ ( index $previous.data "macaroon_secret_key" ) }}
|
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $msk = randAlphaNum 50 }}
|
{{- $msk = randAlphaNum 50 }}
|
||||||
macaroon_secret_key: {{ $msk | quote }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
macaroon_secret_key: {{ $msk }}
|
||||||
|
|
||||||
{{- if .Values.coturn.enabled -}}
|
{{- if .Values.coturn.enabled -}}
|
||||||
turn_shared_secret: {{ include "matrix.coturn.sharedSecret" . }}
|
turn_shared_secret: {{ include "matrix.coturn.sharedSecret" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user