Argo · Schema

ApplicationSpec

Desired state specification for an Argo CD application.

CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

Properties

Name Type Description
source object
destination object
project string Argo CD project this application belongs to.
syncPolicy object
ignoreDifferences array Resource fields to ignore when computing sync status.
View JSON Schema on GitHub

JSON Schema

argo-cd-application-spec-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-schema/argo-cd-application-spec-schema.json",
  "title": "ApplicationSpec",
  "description": "Desired state specification for an Argo CD application.",
  "type": "object",
  "properties": {
    "source": {
      "$ref": "#/components/schemas/ApplicationSource"
    },
    "destination": {
      "$ref": "#/components/schemas/ApplicationDestination"
    },
    "project": {
      "type": "string",
      "description": "Argo CD project this application belongs to."
    },
    "syncPolicy": {
      "$ref": "#/components/schemas/SyncPolicy"
    },
    "ignoreDifferences": {
      "type": "array",
      "description": "Resource fields to ignore when computing sync status.",
      "items": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "description": "Kubernetes API group."
          },
          "kind": {
            "type": "string",
            "description": "Kubernetes resource kind."
          },
          "jsonPointers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "JSON Pointer paths to ignore."
          }
        }
      }
    }
  },
  "required": [
    "destination",
    "project",
    "source"
  ]
}