fix(messenger): Add volume mounting for config file
This commit is contained in:
parent
5312a0eb0a
commit
eb87411bcb
@ -23,17 +23,17 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: synapse-db-superuser
|
name: synapse-db-superuser
|
||||||
key: password
|
key: password
|
||||||
- name: messenger_USER
|
- name: MESSENGER_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: mautrix-messenger-db
|
name: mautrix-messenger-db
|
||||||
key: username
|
key: username
|
||||||
- name: messenger_PASSWORD
|
- name: MESSENGER_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: mautrix-messenger-db
|
name: mautrix-messenger-db
|
||||||
key: password
|
key: password
|
||||||
- name: messenger_DB
|
- name: MESSENGER_DB
|
||||||
value: messenger
|
value: messenger
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: create-db
|
- name: create-db
|
||||||
|
@ -5,7 +5,6 @@ namespace: synapse
|
|||||||
resources:
|
resources:
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- statefulset.yaml
|
- statefulset.yaml
|
||||||
- secrets.yaml
|
|
||||||
- job.yaml
|
- job.yaml
|
||||||
|
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
|
@ -5,7 +5,6 @@ namespace: synapse
|
|||||||
resources:
|
resources:
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- statefulset.yaml
|
- statefulset.yaml
|
||||||
- secrets.yaml
|
|
||||||
- job.yaml
|
- job.yaml
|
||||||
|
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
|
@ -36,6 +36,9 @@ spec:
|
|||||||
- mountPath: "/data/signal.yaml"
|
- mountPath: "/data/signal.yaml"
|
||||||
name: signal-secret-registration
|
name: signal-secret-registration
|
||||||
subPath: signal.yaml
|
subPath: signal.yaml
|
||||||
|
- mountPath: "/data/messenger.yaml"
|
||||||
|
name: messenger-secret-registration
|
||||||
|
subPath: messenger.yaml
|
||||||
volumes:
|
volumes:
|
||||||
- name: synapse-data
|
- name: synapse-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@ -52,3 +55,6 @@ spec:
|
|||||||
- name: signal-secret-registration
|
- name: signal-secret-registration
|
||||||
secret:
|
secret:
|
||||||
secretName: signal-secret-registration
|
secretName: signal-secret-registration
|
||||||
|
- name: messenger-secret-registration
|
||||||
|
secret:
|
||||||
|
secretName: messenger-secret-registration
|
||||||
|
Loading…
Reference in New Issue
Block a user