Your `ignoreDifferences` rule with a jq expression has no effect; the field is still shown in the diff.
IntermediateTroubleshootingOutOfSync Loops & Diff Problems
Answer
Likely causes → Wrong group or kind (core group must be ""), wrong name/namespace filter, or a jq expression that does not match (missing []?, wrong path).
Diagnose → Test the expression on the live object:
kubectl get mutatingwebhookconfiguration my-hook -o json | jq '.webhooks[]?.clientConfig.caBundle'
argocd admin settings resource-overrides ignore-differences ./obj.yaml --argocd-cm-path ./argocd-cm.yaml
Fix → Correct the selector fields and expression; refresh the app.
Prevent → Keep a small test fixture per global ignore rule and test in CI.
More on OutOfSync Loops & Diff Problems
An app flips between `Synced` and `OutOfSync` every few seconds and the sync history grows constantly.Intermediate`argocd app diff` shows only `replicas: 2` vs `replicas: 5` on a Deployment that has an HPA, and the app never stays Synced.BeginnerA MutatingWebhookConfiguration is always OutOfSync on `webhooks[0].clientConfig.caBundle`.IntermediateAfter installing Istio, every Deployment shows OutOfSync because of injected sidecar fields.IntermediateA ConfigMap is OutOfSync and the diff shows the same data in a different format (a number became a string).BeginnerA Deployment is OutOfSync on `resources.limits.cpu`: Git says `1000m`, live says `1`.Intermediate