From eb87411bcb553e58abedf9c690ed710872be2764 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 15 Dec 2024 16:26:47 +0100 Subject: [PATCH] fix(messenger): Add volume mounting for config file --- manifests/bridges/messenger/job.yaml | 6 +++--- manifests/bridges/messenger/kustomization.yaml | 1 - manifests/bridges/signal/kustomization.yaml | 1 - manifests/deployment.yaml | 6 ++++++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/manifests/bridges/messenger/job.yaml b/manifests/bridges/messenger/job.yaml index dc051c1..73fa579 100644 --- a/manifests/bridges/messenger/job.yaml +++ b/manifests/bridges/messenger/job.yaml @@ -23,17 +23,17 @@ spec: secretKeyRef: name: synapse-db-superuser key: password - - name: messenger_USER + - name: MESSENGER_USER valueFrom: secretKeyRef: name: mautrix-messenger-db key: username - - name: messenger_PASSWORD + - name: MESSENGER_PASSWORD valueFrom: secretKeyRef: name: mautrix-messenger-db key: password - - name: messenger_DB + - name: MESSENGER_DB value: messenger volumeMounts: - name: create-db diff --git a/manifests/bridges/messenger/kustomization.yaml b/manifests/bridges/messenger/kustomization.yaml index ae263df..2dce13b 100644 --- a/manifests/bridges/messenger/kustomization.yaml +++ b/manifests/bridges/messenger/kustomization.yaml @@ -5,7 +5,6 @@ namespace: synapse resources: - service.yaml - statefulset.yaml - - secrets.yaml - job.yaml generatorOptions: diff --git a/manifests/bridges/signal/kustomization.yaml b/manifests/bridges/signal/kustomization.yaml index d74c7d6..f45fa34 100644 --- a/manifests/bridges/signal/kustomization.yaml +++ b/manifests/bridges/signal/kustomization.yaml @@ -5,7 +5,6 @@ namespace: synapse resources: - service.yaml - statefulset.yaml - - secrets.yaml - job.yaml generatorOptions: diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 274ad6c..2f092f3 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -36,6 +36,9 @@ spec: - mountPath: "/data/signal.yaml" name: signal-secret-registration subPath: signal.yaml + - mountPath: "/data/messenger.yaml" + name: messenger-secret-registration + subPath: messenger.yaml volumes: - name: synapse-data persistentVolumeClaim: @@ -52,3 +55,6 @@ spec: - name: signal-secret-registration secret: secretName: signal-secret-registration + - name: messenger-secret-registration + secret: + secretName: messenger-secret-registration