Add secrets with sops

This commit is contained in:
Tom Neuber 2024-09-30 21:51:13 +02:00
parent 30c8a660ef
commit 82f71e8d38
Signed by: tom
GPG key ID: F17EFE4272D89FF6
4 changed files with 121 additions and 1 deletions

View file

@ -1,4 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
generators:
- secret-generator.yaml
resources:
- grafana-backuper.yaml
- grafana-backuper.yaml

View 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

File diff suppressed because one or more lines are too long