42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: mautrix-slack-bridge
|
|
spec:
|
|
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
|
|
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:
|
|
secretName: mautrix-slack-config
|