From 374acd5c81641c588ca803c8dd6d908d64b8258d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 17 Jul 2021 17:24:35 +0200 Subject: [PATCH 1/3] etherpad: always update certbot image --- apps/etherpadlite-ssl/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/etherpadlite-ssl/templates/deployment.yaml b/apps/etherpadlite-ssl/templates/deployment.yaml index 6794151..5c4e5cc 100644 --- a/apps/etherpadlite-ssl/templates/deployment.yaml +++ b/apps/etherpadlite-ssl/templates/deployment.yaml @@ -112,6 +112,8 @@ spec: containers: - name: certbot image: ungleich/ungleich-certbot + imagePullPolicy: Always + ports: - containerPort: 80 env: From 1789cdb30927fe0c4d1f466a1cc7b3865b3ad775 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 17 Jul 2021 17:33:08 +0200 Subject: [PATCH 2/3] ++ rook notes --- rook/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rook/README.md b/rook/README.md index 88e51bf..58d0016 100644 --- a/rook/README.md +++ b/rook/README.md @@ -119,3 +119,7 @@ Especially these: finalizers: - cephblockpool.ceph.rook.io ``` + +## Other flux related problems + +* The host is not cleared / old /var/lib/rook is persisting From e25293ba609b7654bd1fea367f0622f3f95db955 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 17 Jul 2021 20:12:36 +0200 Subject: [PATCH 3/3] [matrix] begin to prep configmap vs secret --- apps/matrix/templates/deployment.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/matrix/templates/deployment.yaml b/apps/matrix/templates/deployment.yaml index 0aa4838..7bd1699 100644 --- a/apps/matrix/templates/deployment.yaml +++ b/apps/matrix/templates/deployment.yaml @@ -48,12 +48,12 @@ spec: mountPath: "/var/lib/postgresql/data" subPath: postgres - name: matrix - image: matrixdotorg/synapse:v{{ .Values.synapseVersion }} + image: ungleich/ungleich-matrix-synapse:{{ .Values.synapseVersion }} ports: - containerPort: 8008 env: - - name: SYNAPSE_CONFIG_PATH - value: "/config/homeserver.yaml" + - name: SYNAPSE_CONFIG_DIR + value: "/config" volumeMounts: - name: data mountPath: "/data" @@ -75,6 +75,11 @@ spec: - name: matrix-config configMap: name: {{ tpl .Values.identifier . }}-matrix-config + items: + - key: homeserver.yaml + path: homeserver.yaml + - key: log.yaml + path: log.yaml --- apiVersion: v1 @@ -196,8 +201,9 @@ kind: ConfigMap metadata: name: {{ tpl .Values.identifier . }}-postgres-config data: - POSTGRES_USER: matrix-synapse - POSTGRES_DB: matrix-synapse + POSTGRES_USER: "matrix-synapse" + POSTGRES_DB: "matrix-synapse" + POSTGRES_HOST: "localhost" --- apiVersion: v1 kind: ConfigMap