Argo CD · Schema

v1alpha1Cluster

v1alpha1Cluster schema from Argo CD API

Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

Properties

Name Type Description
annotations object
clusterResources boolean Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
config object
connectionState object
info object
labels object
name string
namespaces array Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
project string
refreshRequestedAt object
server string
serverVersion string
shard integer Shard contains optional shard number. Calculated on the fly by the application controller if not specified.
View JSON Schema on GitHub

JSON Schema

argo-cd-v1alpha1-cluster-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-cluster-schema.json",
  "title": "v1alpha1Cluster",
  "description": "v1alpha1Cluster schema from Argo CD API",
  "type": "object",
  "properties": {
    "annotations": {
      "type": "object",
      "title": "Annotations for cluster secret metadata",
      "additionalProperties": {
        "type": "string"
      }
    },
    "clusterResources": {
      "description": "Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.",
      "type": "boolean"
    },
    "config": {
      "$ref": "#/definitions/v1alpha1ClusterConfig"
    },
    "connectionState": {
      "$ref": "#/definitions/v1alpha1ConnectionState"
    },
    "info": {
      "$ref": "#/definitions/v1alpha1ClusterInfo"
    },
    "labels": {
      "type": "object",
      "title": "Labels for cluster secret metadata",
      "additionalProperties": {
        "type": "string"
      }
    },
    "name": {
      "type": "string",
      "title": "Name of the cluster. If omitted, will use the server address"
    },
    "namespaces": {
      "description": "Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "project": {
      "type": "string",
      "title": "Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity"
    },
    "refreshRequestedAt": {
      "$ref": "#/definitions/v1Time"
    },
    "server": {
      "type": "string",
      "title": "Server is the API server URL of the Kubernetes cluster"
    },
    "serverVersion": {
      "type": "string",
      "title": "Deprecated: use Info.ServerVersion field instead.\nThe server version"
    },
    "shard": {
      "description": "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.",
      "type": "integer",
      "format": "int64"
    }
  }
}