fix(messenger): Add volume mounting for config file

This commit is contained in:
Tanguy Herbron 2024-12-15 16:26:47 +01:00
parent 5312a0eb0a
commit eb87411bcb
4 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -5,7 +5,6 @@ namespace: synapse
resources:
- service.yaml
- statefulset.yaml
- secrets.yaml
- job.yaml
generatorOptions:

View File

@ -5,7 +5,6 @@ namespace: synapse
resources:
- service.yaml
- statefulset.yaml
- secrets.yaml
- job.yaml
generatorOptions:

View File

@ -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