Explain `selfHeal`. When might you not want it?
IntermediateConceptThe Application CRD & Sync Policies
Answer
With selfHeal: true, Argo CD syncs whenever live state diverges from Git, even without a new commit, so manual edits are reverted within seconds. You might disable it during incident response (an on-call engineer scales a Deployment and does not want it undone), for prod where every change must be a human-initiated sync, or for resources that controllers legitimately modify and you have not yet excluded. Prefer pausing via argocd app set --self-heal=false temporarily, with the change tracked.
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?BeginnerWhat is the `retry` block in a sync policy?Intermediate