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

Why can a resource show `OutOfSync` even though nothing changed in Git?

IntermediateConceptSync Waves, Hooks, Health & Diffing
Answer

Common reasons: a controller or HPA changed a field you declare; a mutating webhook injected or altered fields; the API server defaults or normalizes a value differently than you wrote it (cpu: 1000m vs 1, "80" vs 80); Helm functions like randAlphaNum or genCA generate new values on every render; a CRD's conversion changes representation; or another Application manages the same resource. argocd app diff shows the exact field.

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

More on Sync Waves, Hooks, Health & Diffing