2024-01-22 06:05:08 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
2024-03-31 21:40:26 +00:00
|
|
|
name: mautrix-slack-bridge
|
2024-01-22 06:05:08 +00:00
|
|
|
spec:
|
2024-03-31 21:40:26 +00:00
|
|
|
serviceName: mautrix-slack
|
2024-01-22 06:05:08 +00:00
|
|
|
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
|
2024-01-22 06:05:08 +00:00
|
|
|
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
|