Files
k8s-starter-pack/apps/sops-secrets-operator.yaml
T

35 lines
1.1 KiB
YAML
Raw Normal View History

2026-09-03 04:24:38 +01:00
# sops-secrets-operator, installed like MetalLB and Longhorn: an Application
# pointing at apps/sops-secrets-operator, a Helm chart that pulls in the
# upstream operator chart. Once this syncs, any SopsSecret custom resource
# committed anywhere in this repo gets decrypted into a real Kubernetes
# Secret automatically. See docs/10-secrets.md for the full explanation,
# including the one manual step this needs before it can decrypt anything.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sops-secrets-operator
namespace: argocd
# Safe to cascade: this operator holds no persistent data of its own.
# Deleting it stops decrypting SopsSecrets; the encrypted source files and
# the age key stay intact.
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
2026-09-04 12:42:43 +00:00
repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git
2026-09-03 04:24:38 +01:00
targetRevision: main
path: apps/sops-secrets-operator
destination:
server: https://kubernetes.default.svc
namespace: sops
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true