What is a sync operation vs a refresh?
BeginnerConceptThe Application CRD & Sync Policies
Answer
A refresh recomputes the desired vs live comparison (re-resolving the Git revision, re-rendering if needed) and updates sync and health status. It changes nothing in the cluster. A sync applies the desired state to the cluster. Automated sync policies trigger syncs after refreshes that show a new revision or drift.
More on The Application CRD & Sync Policies
Walk through the key fields of an Argo CD `Application`.BeginnerWhat values can `targetRevision` take?BeginnerWhat is the difference between `destination.server` and `destination.name`?BeginnerWhat does `syncPolicy.automated` do, and what are its sub-fields?BeginnerWhy is `prune` disabled by default?BeginnerExplain `selfHeal`. When might you not want it?Intermediate