Argo CD · JSON Structure

Argo Cd V1Alpha1 Sync Operation Structure

SyncOperation contains details about a sync operation.

Type: object Properties: 11
Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

v1alpha1SyncOperation is a JSON Structure definition published by Argo CD, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

autoHealAttemptsCount dryRun manifests prune resources revision revisions source sources syncOptions syncStrategy

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/json-structure/argo-cd-v1alpha1-sync-operation-structure.json",
  "name": "v1alpha1SyncOperation",
  "description": "SyncOperation contains details about a sync operation.",
  "type": "object",
  "properties": {
    "autoHealAttemptsCount": {
      "type": "int64",
      "name": "SelfHealAttemptsCount contains the number of auto-heal attempts"
    },
    "dryRun": {
      "type": "boolean",
      "name": "DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync"
    },
    "manifests": {
      "type": "array",
      "name": "Manifests is an optional field that overrides sync source with a local directory for development",
      "items": {
        "type": "string"
      }
    },
    "prune": {
      "type": "boolean",
      "name": "Prune specifies to delete resources from the cluster that are no longer tracked in git"
    },
    "resources": {
      "type": "array",
      "name": "Resources describes which resources shall be part of the sync",
      "items": {
        "$ref": "#/definitions/v1alpha1SyncOperationResource"
      }
    },
    "revision": {
      "description": "Revision is the revision (Git) or chart version (Helm) which to sync the application to\nIf omitted, will use the revision specified in app spec.",
      "type": "string"
    },
    "revisions": {
      "description": "Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to\nIf omitted, will use the revision specified in app spec.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "$ref": "#/definitions/v1alpha1ApplicationSource"
    },
    "sources": {
      "type": "array",
      "name": "Sources overrides the source definition set in the application.\nThis is typically set in a Rollback operation and is nil during a Sync operation",
      "items": {
        "$ref": "#/definitions/v1alpha1ApplicationSource"
      }
    },
    "syncOptions": {
      "type": "array",
      "name": "SyncOptions provide per-sync sync-options, e.g. Validate=false",
      "items": {
        "type": "string"
      }
    },
    "syncStrategy": {
      "$ref": "#/definitions/v1alpha1SyncStrategy"
    }
  }
}