Argo CD · JSON Structure

Argo Cd V1Alpha1 Pull Request Generator Github Structure

PullRequestGeneratorGithub defines connection info specific to GitHub.

Type: object Properties: 6
Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

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

Properties

api appSecretName labels owner repo tokenRef

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-pull-request-generator-github-structure.json",
  "name": "v1alpha1PullRequestGeneratorGithub",
  "description": "PullRequestGeneratorGithub defines connection info specific to GitHub.",
  "type": "object",
  "properties": {
    "api": {
      "description": "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
      "type": "string"
    },
    "appSecretName": {
      "description": "AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.",
      "type": "string"
    },
    "labels": {
      "type": "array",
      "name": "Labels is used to filter the PRs that you want to target",
      "items": {
        "type": "string"
      }
    },
    "owner": {
      "description": "GitHub org or user to scan. Required.",
      "type": "string"
    },
    "repo": {
      "description": "GitHub repo name to scan. Required.",
      "type": "string"
    },
    "tokenRef": {
      "$ref": "#/definitions/v1alpha1SecretRef"
    }
  }
}