chore(syncthing): attempt to inject sops-encrypted secrets into syncthing's config folder
This commit is contained in:
parent
71de2729ed
commit
5a09bc627e
8 changed files with 887 additions and 3 deletions
24
apps/syncthing/overlays/media/deployment-patch.yaml
Normal file
24
apps/syncthing/overlays/media/deployment-patch.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue