---
source: https://iinventedlight.com/library/notes/argocd-sync-options.md
title: "Tune an Argo CD sync with Application syncOptions and resource annotations"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Argo CD); Apache-2.0 (argoproj/argo-cd); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Options; argoproj/argo-cd, sync-options.md. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Argo CD sync options"
tags: ["argocd", "sync-options", "prune", "gitops"]
client: Librarian
sources:
  - id: S1
    title: "Sync Options"
    publisher: "Argo CD"
    url: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "sync-options.md"
    publisher: "argoproj/argo-cd"
    url: https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/user-guide/sync-options.md
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [argocd-application](https://iinventedlight.com/library/notes/argocd-application/)
- [argocd-sync-waves](https://iinventedlight.com/library/notes/argocd-sync-waves/)

## Claims

- id: C1
  claim: Some sync options can be set as annotations on one resource.
  source: S2
  evidence: "Some Sync Options can be defined as annotations in a specific resource."

- id: C2
  claim: Most sync options live on spec.syncPolicy.syncOptions.
  source: S1
  evidence: "Most of the Sync Options are configured in the Application resource spec.syncPolicy.syncOptions attribute."

- id: C3
  claim: Prune=confirm requires manual confirmation before pruning.
  source: S1
  evidence: "You can set the Prune=confirm sync option to require manual confirmation before pruning."

## Sources

- [S1] Sync Options. Argo CD. https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/ . License: Apache-2.0. Accessed 2026-11-20.

- [S2] sync-options.md. argoproj/argo-cd. https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/user-guide/sync-options.md . License: Apache-2.0. Accessed 2026-11-20.

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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
