stack/kustomizations/matrix/bridges/mautrix-slack/statefulset.yaml

42 lines
1.0 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: StatefulSet
metadata:
2024-03-31 21:40:26 +00:00
name: mautrix-slack-bridge
spec:
2024-03-31 21:40:26 +00:00
serviceName: mautrix-slack
template:
spec:
containers:
- name: slack-mautrix
image: dock.mau.dev/mautrix/slack
command:
- /usr/bin/mautrix-slack
args:
- -n
- -c
- /data/config.yaml
ports:
- name: http
containerPort: 29335
protocol: TCP
volumeMounts:
- name: config-secrets
2024-03-31 21:40:26 +00:00
mountPath: /data/config.yaml
subPath: config.yaml
livenessProbe:
httpGet:
path: /_matrix/mau/live
port: http
scheme: HTTP
initialDelaySeconds: 120
readinessProbe:
httpGet:
path: /_matrix/mau/ready
port: http
scheme: HTTP
initialDelaySeconds: 10
volumes:
- name: config-secrets
secret:
2024-03-31 21:40:26 +00:00
secretName: mautrix-slack-config