Argo CD · Schema

v1alpha1SyncWindow

v1alpha1SyncWindow schema from Argo CD API

Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

Properties

Name Type Description
andOperator boolean
applications array
clusters array
description string
duration string
kind string
manualSync boolean
namespaces array
schedule string
syncOverrun boolean
timeZone string
View JSON Schema on GitHub

JSON Schema

argo-cd-v1alpha1-sync-window-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/json-schema/argo-cd-v1alpha1-sync-window-schema.json",
  "title": "v1alpha1SyncWindow",
  "description": "v1alpha1SyncWindow schema from Argo CD API",
  "type": "object",
  "properties": {
    "andOperator": {
      "type": "boolean",
      "title": "UseAndOperator use AND operator for matching applications, namespaces and clusters instead of the default OR operator"
    },
    "applications": {
      "type": "array",
      "title": "Applications contains a list of applications that the window will apply to",
      "items": {
        "type": "string"
      }
    },
    "clusters": {
      "type": "array",
      "title": "Clusters contains a list of clusters that the window will apply to",
      "items": {
        "type": "string"
      }
    },
    "description": {
      "type": "string",
      "title": "Description of the sync that will be applied to the schedule, can be used to add any information such as a ticket number for example"
    },
    "duration": {
      "type": "string",
      "title": "Duration is the amount of time the sync window will be open"
    },
    "kind": {
      "type": "string",
      "title": "Kind defines if the window allows or blocks syncs"
    },
    "manualSync": {
      "type": "boolean",
      "title": "ManualSync enables manual syncs when they would otherwise be blocked"
    },
    "namespaces": {
      "type": "array",
      "title": "Namespaces contains a list of namespaces that the window will apply to",
      "items": {
        "type": "string"
      }
    },
    "schedule": {
      "type": "string",
      "title": "Schedule is the time the window will begin, specified in cron format"
    },
    "syncOverrun": {
      "type": "boolean",
      "title": "SyncOverrun allows ongoing syncs to continue in two scenarios:\nFor deny windows: allows syncs that started before the deny window became active to continue running\nFor allow windows: allows syncs that started during the allow window to continue after the window ends"
    },
    "timeZone": {
      "type": "string",
      "title": "TimeZone of the sync that will be applied to the schedule"
    }
  }
}