Files
homelab/k8s/argocd/apps/00-secrets.yaml
T

29 lines
872 B
YAML
Raw Normal View History

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sops-secrets
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
project: homelab
revisionHistoryLimit: 3
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git
targetRevision: main
# ksops decrypts every *.enc.yaml here at kustomize-build time (repo-server
# runs `kustomize build --enable-alpha-plugins --enable-exec`). Replaces the
# old sops-secrets-v1.0 CMP whose discover glob silently hijacked kustomize
# rendering of any app whose path contained a *.enc.yaml.
path: k8s/argocd/secrets
destination:
server: https://kubernetes.default.svc