Add secrets with sops
This commit is contained in:
parent
30c8a660ef
commit
82f71e8d38
4 changed files with 121 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
generators:
|
||||
- secret-generator.yaml
|
||||
resources:
|
||||
- grafana-backuper.yaml
|
||||
- grafana-backuper.yaml
|
||||
|
|
10
base/secret-generator.yaml
Normal file
10
base/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:
|
||||
- secret.yaml
|
95
base/secret.yaml
Normal file
95
base/secret.yaml
Normal file
File diff suppressed because one or more lines are too long
Reference in a new issue