Argo CD · JSON Structure

Argo Cd V1Alpha1 Sync Source Structure

SyncSource specifies a location from which hydrated manifests may be synced. RepoURL is assumed based on the associated DrySource config in the SourceHydrator.

Type: object Properties: 2
Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

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

Properties

path targetBranch

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-source-structure.json",
  "name": "v1alpha1SyncSource",
  "description": "SyncSource specifies a location from which hydrated manifests may be synced. RepoURL is assumed based on the\nassociated DrySource config in the SourceHydrator.",
  "type": "object",
  "properties": {
    "path": {
      "description": "Path is a directory path within the git repository where hydrated manifests should be committed to and synced\nfrom. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which\nhydrated manifests will be synced.\n\n+kubebuilder:validation:Required\n+kubebuilder:validation:MinLength=1\n+kubebuilder:validation:Pattern=`^.{2,}|[^./]$`",
      "type": "string"
    },
    "targetBranch": {
      "description": "TargetBranch is the branch from which hydrated manifests will be synced.\nIf HydrateTo is not set, this is also the branch to which hydrated manifests are committed.",
      "type": "string"
    }
  }
}