What do `Prune=false`, `Prune=confirm`, `Delete=false` and `Delete=confirm` do?
IntermediateConceptThe Application CRD & Sync Policies
Answer
They are per-resource sync options set in argocd.argoproj.io/sync-options:
Prune=false: never prune this resource even if removed from Git (it shows as requiring pruning).Prune=confirm: pruning waits for a manual confirmation in the UI/CLI.Delete=false: keep the resource when the Application is deleted (classic use: PVCs, namespaces).Delete=confirm: deletion with the app requires confirmation.
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