From 9dc151b0faa8a14aeca80a25a01fa1eb0c1cc688 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Sat, 4 Apr 2026 19:45:21 +0000 Subject: [PATCH] chore: Update manifests after change --- .../StatefulSet-mautrix-whatsapp.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/clusters/cl01tl/manifests/matrix-synapse/StatefulSet-mautrix-whatsapp.yaml b/clusters/cl01tl/manifests/matrix-synapse/StatefulSet-mautrix-whatsapp.yaml index e177ab499..b48191cf9 100644 --- a/clusters/cl01tl/manifests/matrix-synapse/StatefulSet-mautrix-whatsapp.yaml +++ b/clusters/cl01tl/manifests/matrix-synapse/StatefulSet-mautrix-whatsapp.yaml @@ -35,6 +35,32 @@ spec: hostNetwork: false hostPID: false dnsPolicy: ClusterFirst + initContainers: + - command: + - /bin/sh + - -ec + - | + echo ">> Coping files ..." + ls /tmp + cp -fv /tmp/config.yaml /data/config.yaml + cp -fv /tmp/mautrix-whatsapp-registration.yaml /data/registration.yaml + echo ">> Files in data:" + ls /data + image: busybox:1.37.0 + name: init-copy-config + volumeMounts: + - mountPath: /tmp/config.yaml + mountPropagation: None + name: config + readOnly: true + subPath: config.yaml + - mountPath: /data + name: data + - mountPath: /tmp/mautrix-whatsapp-registration.yaml + mountPropagation: None + name: registration + readOnly: true + subPath: mautrix-whatsapp-registration.yaml containers: - image: dock.mau.dev/mautrix/whatsapp:v0.2602.0@sha256:07fca07f8746c09e6d5f486d002e638da014d0a134e053e2ed7af9875053104d name: main