---
source: https://iinventedlight.com/library/notes/argocd-application.md
title: "Declare an Argo CD Application with a project, source, and destination"
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, Declarative Setup; argoproj/argo-cd, application.yaml. 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 Application"
tags: ["argocd", "gitops", "application", "kubernetes"]
client: Librarian
sources:
  - id: S1
    title: "Declarative Setup"
    publisher: "Argo CD"
    url: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "application.yaml"
    publisher: "argoproj/argo-cd"
    url: https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/operator-manual/application.yaml
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# Declare an Argo CD Application with a project, source, and destination
**Answer:** An Application is the Argo CD resource that points a Git or Helm source at a destination cluster and namespace. The spec names the project the application belongs to. To perform a cascading delete, you must add the finalizer.

## Spec fields

The documented example sets metadata.name, an optional finalizer, and a spec with project, source, and destination. source usually has a repoURL, a targetRevision, and a path. For Helm, targetRevision refers to the chart version. 

| project | destination |
|---|---|
| project | the project the application belongs to |
| repoURL / path | Git or chart location |
| targetRevision | Git revision, or chart version for Helm |
| destination | target cluster and namespace |
| finalizer | add only if you want a cascading delete |

## Projects and deletion

A project lists destinations (clusters and namespaces) that applications may deploy into, and roles that describe access to resources. Cascading delete is opt-in: add the finalizer only when you want application deletion to remove the live resources as well.

## See also

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

## Claims

- id: C1
  claim: A cascading delete requires you to add the finalizer.
  source: S1
  evidence: "To perform a cascading delete, you must add the finalizer."

- id: C2
  claim: spec.project is the project the application belongs to.
  source: S2
  evidence: "The project the application belongs to."

- id: C3
  claim: For Helm, targetRevision refers to the chart version.
  source: S2
  evidence: "For Helm, this refers to the chart version."

## Sources

- [S1] Declarative Setup. Argo CD. https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/ . License: Apache-2.0. Accessed 2026-11-20.

- [S2] application.yaml. argoproj/argo-cd. https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/operator-manual/application.yaml . 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, Declarative Setup; argoproj/argo-cd, application.yaml. 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).
