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>
24 lines
501 B
YAML
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
|