41 lines
1018 B
YAML
41 lines
1018 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: slack-bridge
|
|
spec:
|
|
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/secrets.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: slack-config
|