- argocd-apps/ directory with 7 Application YAMLs matching current specs - root-app.yaml to manage all Applications from git - Finalizers added for proper cleanup on deletion
23 lines
493 B
YAML
23 lines
493 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: policies
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://10.10.10.1:3000/claude/k8s-apps.git
|
|
targetRevision: main
|
|
path: apps/policies
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: default
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=false
|