commit cce174611580f224a53f1ad9ba2ddb50449b6281
parent be80a85a795f2c630a9f28e255e5101a786217ce
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 25 Sep 2024 17:23:50 +0200
Run syn2mas via args instead :/
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/apps/base/matrix/mas/mas_deployment.yaml b/apps/base/matrix/mas/mas_deployment.yaml
@@ -20,9 +20,7 @@ spec:
# Normal image
#image: ghcr.io/element-hq/matrix-authentication-service:latest
imagePullPolicy: Always
- # Sleep mode
- command: [ "/bin/bash", "-c", "--" ]
- args: [ "while true; do sleep 30; done;" ]
+ args: [ "--command=advisor", "--synapseConfigFile=/synapse.yaml" ]
# Normal mode
#args: [ "server" ]
ports:
@@ -33,6 +31,8 @@ spec:
- name: mas-config
mountPath: /config.yaml
subPath: config
+ - name: synapse-config
+ mountPath: /synapse.yaml
livenessProbe:
httpGet:
path: /health
@@ -50,6 +50,10 @@ spec:
- name: mas-config
secret:
secretName: mas-config
+ - name: synapse-config
+ configMap:
+ defaultMode: 420
+ name: matrix-synapse
---
apiVersion: v1
kind: Service