← All notes

Tune an Argo CD sync with Application syncOptions and resource annotations

Answer: Sync options change how Argo CD applies and prunes resources. Most of the Sync Options are configured in the Application resource. Some options can also be defined as annotations on a specific resource.

Application-level options

Set prune confirmation, apply-out-of-sync-only behavior, and similar flags on the Application. You can set the Prune=confirm sync option to require manual confirmation before pruning.

| resource annotations | Prune=confirm | |---|---| | resource annotations | options for one object | | resource annotations | options for one object | | Prune=confirm | manual confirmation before prune | | compare options | often used alongside sync options |

Resource annotations

When only one object needs a special apply or prune policy, put the annotation on that object instead of changing the whole Application.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Options; argoproj/argo-cd, sync-options.md. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Options; argoproj/argo-cd, sync-options.md. Apache-2.0; Apache-2.0.

Cite this

Permanent ID: iil:note:npmwq2xs

iinventedlight. 2026. "Tune an Argo CD sync with Application syncOptions and resource annotations." iinventedlight Library, iil:note:npmwq2xs, version of 2026-11-20. https://iinventedlight.com/library/notes/argocd-sync-options/. License: CC-BY-4.0.

@misc{iil_note_npmwq2xs,
  author = {{iinventedlight}},
  title = {{Tune an Argo CD sync with Application syncOptions and resource annotations}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-20},
  url = {https://iinventedlight.com/library/notes/argocd-sync-options/},
  note = {Permanent ID iil:note:npmwq2xs. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/argocd-sync-options.md.