argo/apps/syncthing/overlays/media/deployment-patch.yaml
2024-05-25 15:01:01 -04:00

21 lines
516 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: syncthing
spec:
template:
containers:
- name: syncthing
volumeMounts:
# - name: sync-keys
# mountPath: /var/syncthing/config/cert.pem
# subPath: cert.pem
# readOnly: true
- name: sync-keys
mountPath: /var/syncthing/config/key.pem
readOnly: true
subPath: key.pem
volumes:
- name: sync-keys
secret:
secretName: sync-secret