Synapse/manifests/bridges/discord/statefulset.yaml

37 lines
864 B
YAML
Raw Permalink Normal View History

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