From 301d4728f08ac4f342abc205abca43b286fa229f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 25 Dec 2021 18:50:33 +0100 Subject: [PATCH] [matrix] ++doc and change deployment strategy --- apps/matrix/README.md | 12 ++++++++---- apps/matrix/templates/synapse.yaml | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/matrix/README.md b/apps/matrix/README.md index 308b336..4b24b1e 100644 --- a/apps/matrix/README.md +++ b/apps/matrix/README.md @@ -6,13 +6,13 @@ Setting up matrix for ... - the matrix domain "fn.nf" - the homeserver matrix.fnnf.svc.p10.k8s.ooo -- element web on matrix.fn.nf +- element web on m.fn.nf Using automatic DNS from the p10.k8s.ooo cluster: ``` helm upgrade --install --create-namespace --namespace fnnf \ - --set homeServerFQDN=fn.nf,elementWebFQDN=matrix.fn.nf,letsencryptStaging=no matrix matrix/ + --set homeServerFQDN=fn.nf,elementWebFQDN=m.fn.nf,letsencryptStaging=no,clusterDomain=p10.k8s.ooo matrix matrix/ ``` Setting up matrix.fn.nf in DNS @@ -21,8 +21,12 @@ Setting up matrix.fn.nf in DNS matrix CNAME matrix-element-web.fnnf.svc.p10.k8s.ooo. ``` -Creating the two json files /.well-known/matrix/server and -/.well-known/matrix/client on the fn.nf web server. +Creating the two json files +* /.well-known/matrix/server and +* /.well-known/matrix/client +on the fn.nf web server using the samples: + + ### Element-Web diff --git a/apps/matrix/templates/synapse.yaml b/apps/matrix/templates/synapse.yaml index d583920..d1199cd 100644 --- a/apps/matrix/templates/synapse.yaml +++ b/apps/matrix/templates/synapse.yaml @@ -8,6 +8,8 @@ spec: app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/component: matrix-synapse replicas: 1 + strategy: + type: Recreate template: metadata: labels: