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 b49021a7e3
6 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,15 @@
apiVersion: viaduct.ai/v1
kind: ksops
metadata:
name: ksops-generator
annotations:
config.kubernetes.io/function: |
exec:
path: ksops
secretFrom:
- metadata:
name: sync-secret
type: Opaque
binaryFiles:
- cert.pem=./cert.sops.pem
- key.pem=./key.sops.pem