add secrets-generator
This commit is contained in:
parent
8d21913d54
commit
2340309445
2 changed files with 14 additions and 0 deletions
4
secrets/kustomization.yaml
Normal file
4
secrets/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
generators:
|
||||
- ./secret-generator.yaml
|
10
secrets/secret-generator.yaml
Normal file
10
secrets/secret-generator.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
apiVersion: viaduct.ai/v1
|
||||
kind: ksops
|
||||
metadata:
|
||||
name: secret-generator
|
||||
annotations:
|
||||
config.kubernetes.io/function: |
|
||||
exec:
|
||||
path: ksops
|
||||
files:
|
||||
- ./secrets.enc.yaml
|
Reference in a new issue