33 lines
720 B
YAML
33 lines
720 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: mautrix-telegram
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: mautrix-telegram
|
|
serviceName: mautrix-telegram
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: mautrix-telegram
|
|
spec:
|
|
containers:
|
|
- name: mautrix-telegram
|
|
image: mautrix-telegram
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /data/config.yaml
|
|
subPath: config.yaml
|
|
- name: persistence
|
|
mountPath: /data
|
|
args:
|
|
- --no-update # disable overwriting config.yaml
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: mautrix-telegram
|
|
- name: persistence
|
|
emptyDir: {}
|