Argo · JSON Structure

Argo Cd App Project Structure

An Argo CD project providing logical grouping and RBAC for applications.

Type: object Properties: 2
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

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

Properties

metadata spec

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/refs/heads/main/json-structure/argo-cd-app-project-structure.json",
  "name": "AppProject",
  "description": "An Argo CD project providing logical grouping and RBAC for applications.",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Project name."
        }
      }
    },
    "spec": {
      "type": "object",
      "description": "Project specification.",
      "properties": {
        "description": {
          "type": "string",
          "description": "Human-readable project description."
        },
        "sourceRepos": {
          "type": "array",
          "description": "Allowed source repositories. Use '*' for any.",
          "items": {
            "type": "string"
          }
        },
        "destinations": {
          "type": "array",
          "description": "Allowed destination clusters and namespaces.",
          "items": {
            "type": "object",
            "properties": {
              "server": {
                "type": "string",
                "description": "Cluster server URL."
              },
              "namespace": {
                "type": "string",
                "description": "Allowed namespace pattern."
              }
            }
          }
        },
        "clusterResourceWhitelist": {
          "type": "array",
          "description": "Allowed cluster-scoped resource types.",
          "items": {
            "type": "object",
            "properties": {
              "group": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}