chore(syncthing): attempt to inject sops-encrypted secrets into syncthing's config folder
This commit is contained in:
parent
71de2729ed
commit
b49021a7e3
6 changed files with 101 additions and 0 deletions
15
apps/syncthing/overlay/media/secrets.yaml
Normal file
15
apps/syncthing/overlay/media/secrets.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue