fix(messenger): Add volume mounting for config file
This commit is contained in:
parent
5312a0eb0a
commit
eb87411bcb
@ -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
|
||||
|
@ -5,7 +5,6 @@ namespace: synapse
|
||||
resources:
|
||||
- service.yaml
|
||||
- statefulset.yaml
|
||||
- secrets.yaml
|
||||
- job.yaml
|
||||
|
||||
generatorOptions:
|
||||
|
@ -5,7 +5,6 @@ namespace: synapse
|
||||
resources:
|
||||
- service.yaml
|
||||
- statefulset.yaml
|
||||
- secrets.yaml
|
||||
- job.yaml
|
||||
|
||||
generatorOptions:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user