Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
db5059c2a3
commit
902fb42e8f
|
@ -1,6 +1,15 @@
|
|||
# Changelog<br>
|
||||
|
||||
|
||||
<a name="synapse-0.0.12"></a>
|
||||
### [synapse-0.0.12](https://github.com/truecharts/apps/compare/synapse-0.0.11...synapse-0.0.12) (2022-01-31)
|
||||
|
||||
#### Fix
|
||||
|
||||
* secret tweaking
|
||||
|
||||
|
||||
|
||||
<a name="synapse-0.0.11"></a>
|
||||
### [synapse-0.0.11](https://github.com/truecharts/apps/compare/synapse-0.0.10...synapse-0.0.11) (2022-01-31)
|
||||
|
|
@ -6,4 +6,4 @@ dependencies:
|
|||
repository: https://truecharts.org/
|
||||
version: 6.0.58
|
||||
digest: sha256:a28ed48da9797a2e9d6e9a194aa6f65b07fc1cc0169d5ffdb0ba7c44c94806b1
|
||||
generated: "2022-01-31T18:04:44.450875118Z"
|
||||
generated: "2022-01-31T18:34:51.420567497Z"
|
|
@ -24,7 +24,7 @@ maintainers:
|
|||
name: synapse
|
||||
sources: []
|
||||
type: application
|
||||
version: 0.0.11
|
||||
version: 0.0.12
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- cloud
|
|
@ -1,5 +1,21 @@
|
|||
{{/* Define the configs */}}
|
||||
{{- define "synapse.secret" -}}
|
||||
{{- $previous := lookup "v1" "Secret" .Release.Namespace "synapse-secret-macaroon" }}
|
||||
{{- $msk := randAlphaNum 50 }}
|
||||
{{- if $previous }}
|
||||
{{- $msk = ( index $previous.data "key" ) | b64dec }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: synapse-secret-macaroon
|
||||
labels:
|
||||
{{ include "common.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
rollme: {{ randAlphaNum 5 | quote }}
|
||||
data:
|
||||
key: {{ $msk | b64enc }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
@ -10,8 +26,6 @@ metadata:
|
|||
annotations:
|
||||
rollme: {{ randAlphaNum 5 | quote }}
|
||||
stringData:
|
||||
{{- $previous := lookup "v1" "Secret" .Release.Namespace "synapse-secret" }}
|
||||
{{- $msk := randAlphaNum 50 }}
|
||||
secret.yaml: |
|
||||
{{- if .Values.mail.enabled }}
|
||||
email:
|
||||
|
@ -40,9 +54,6 @@ stringData:
|
|||
registration_shared_secret: {{ .Values.matrix.registration.sharedSecret }}
|
||||
{{- end }}
|
||||
|
||||
{{- if $previous }}
|
||||
{{- $msk = ( index $previous.stringData "macaroon_secret_key" ) }}
|
||||
{{- end }}
|
||||
macaroon_secret_key: {{ $msk }}
|
||||
|
||||
{{- if .Values.coturn.enabled -}}
|
Loading…
Reference in New Issue