Synapse/manifests/bridges/messenger/statefulset.yaml

37 lines
874 B
YAML
Raw Permalink Normal View History

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: messenger
namespace: synapse
spec:
selector:
matchLabels:
app: messenger
serviceName: messenger
replicas: 1
minReadySeconds: 10
template:
metadata:
labels:
app: messenger
spec:
terminationGracePeriodSeconds: 10
containers:
- name: messenger
image: dock.mau.dev/mautrix/meta:v0.4.2
command: [
"/usr/bin/mautrix-meta",
"--config", "/data/config.yaml",
"--no-update",
]
ports:
- containerPort: 29328
volumeMounts:
- mountPath: "/data/config.yaml"
name: messenger-config-file
subPath: config.yaml
volumes:
- name: messenger-config-file
secret:
secretName: messenger-secret-config