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