Interview Prep/GitOps & Argo CD/Sync Waves, Hooks, Health & Diffing

How do you ignore differences globally instead of per app?

IntermediateConceptSync Waves, Hooks, Health & Diffing
Answer

In argocd-cm:

resource.customizations.ignoreDifferences.admissionregistration.k8s.io_MutatingWebhookConfiguration: |
  jqPathExpressions:
    - '.webhooks[]?.clientConfig.caBundle'
resource.customizations.ignoreDifferences.all: |
  managedFieldsManagers:
    - kube-controller-manager

Use <group>_<kind> keys for one kind or .all for every kind. Global ignores are powerful and hide real drift, so keep them to cases that are noisy for everyone.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Sync Waves, Hooks, Health & Diffing