k8s-apps/root-app.yaml
root d047481de0
All checks were successful
AI Review / AI Code Review (pull_request) Successful in 13s
PR Checks / Validate & Security Scan (pull_request) Successful in 20s
root-app: add ignoreDifferences for Application finalizers
ArgoCD child apps (e.g. kyverno) get extra finalizers added at runtime,
causing root app-of-apps to show OutOfSync perpetually. Ignore
/metadata/finalizers drift on Application resources.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 10:02:37 +01:00

24 lines
501 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root
namespace: argocd
spec:
project: default
source:
repoURL: http://10.10.10.1:3000/claude/k8s-apps.git
targetRevision: main
path: argocd-apps
destination:
server: https://kubernetes.default.svc
namespace: argocd
ignoreDifferences:
- group: argoproj.io
kind: Application
jsonPointers:
- /metadata/finalizers
syncPolicy:
automated:
prune: true
selfHeal: true