Synapse/manifests/bridges/whatsapp/statefulset.yaml

37 lines
875 B
YAML
Raw Normal View History

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