ops(k8s): attempt to add sops operator

This commit is contained in:
Kat Inskip 2024-01-20 11:39:53 -08:00
parent 41ae5de394
commit 49ef4146fc
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
6 changed files with 60 additions and 12 deletions

View file

@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sops-secrets-operator
namespace: argocd
spec:
project: system
source:
repoURL: "https://isindir.github.io/sops-secrets-operator/"
targetRevision: 0.18.0
chart: sops-secret-operator
helm:
valuesObject:
secretsAsFiles:
- mountPath: /etc/sops-age-key-file
secretName: sops-age-key-file
extraEnv:
- name: SOPS_AGE_KEY_FILE
value: /etc/sops-age-key-file/sops.key
destination:
namespace: sops
name: in-cluster
syncPolicy:
syncOptions:
- ServerSideApply=true