chore(syncthing): attempt to inject sops-encrypted secrets into syncthing's config folder

This commit is contained in:
David Landry 2024-05-25 14:50:39 -04:00
parent 71de2729ed
commit 5a09bc627e
8 changed files with 887 additions and 3 deletions

View file

@ -0,0 +1,24 @@
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
items:
- key: cert.pem
- key: key.pem