Argo CD · Schema

v1alpha1Repository

v1alpha1Repository schema from Argo CD API

Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

Properties

Name Type Description
azureActiveDirectoryEndpoint string
azureServicePrincipalClientId string
azureServicePrincipalClientSecret string
azureServicePrincipalTenantId string
bearerToken string
connectionState object
depth integer Depth specifies the depth for shallow clones. A value of 0 or omitting the field indicates a full clone.
enableLfs boolean EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.
enableOCI boolean
forceHttpBasicAuth boolean
gcpServiceAccountKey string
githubAppEnterpriseBaseUrl string
githubAppID integer
githubAppInstallationID integer
githubAppPrivateKey string
inheritedCreds boolean
insecure boolean
insecureIgnoreHostKey boolean
insecureOCIForceHttp boolean InsecureOCIForceHttp specifies whether the connection to the repository uses TLS at _all_. If true, no TLS. This flag is applicable for OCI repos only.
name string
noProxy string
password string
project string
proxy string
repo string
sshPrivateKey string SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.
tlsClientCertData string
tlsClientCertKey string
type string Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
useAzureWorkloadIdentity boolean
username string
webhookManifestCacheWarmDisabled boolean WebhookManifestCacheWarmDisabled disables manifest cache warming during webhook processing for this repository. When set, webhook handlers will only trigger reconciliation for affected applications an
View JSON Schema on GitHub

JSON Schema

argo-cd-v1alpha1-repository-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-repository-schema.json",
  "title": "v1alpha1Repository",
  "description": "v1alpha1Repository schema from Argo CD API",
  "type": "object",
  "properties": {
    "azureActiveDirectoryEndpoint": {
      "type": "string",
      "title": "AzureActiveDirectoryEndpoint specifies the Azure Active Directory endpoint used for Service Principal authentication. If empty will default to https://login.microsoftonline.com"
    },
    "azureServicePrincipalClientId": {
      "type": "string",
      "title": "AzureServicePrincipalClientId specifies the client ID of the Azure Service Principal used to access the repo"
    },
    "azureServicePrincipalClientSecret": {
      "type": "string",
      "title": "AzureServicePrincipalClientSecret specifies the client secret of the Azure Service Principal used to access the repo"
    },
    "azureServicePrincipalTenantId": {
      "type": "string",
      "title": "AzureServicePrincipalTenantId specifies the tenant ID of the Azure Service Principal used to access the repo"
    },
    "bearerToken": {
      "type": "string",
      "title": "BearerToken contains the bearer token used for Git BitBucket Data Center auth at the repo server"
    },
    "connectionState": {
      "$ref": "#/definitions/v1alpha1ConnectionState"
    },
    "depth": {
      "description": "Depth specifies the depth for shallow clones. A value of 0 or omitting the field indicates a full clone.",
      "type": "integer",
      "format": "int64"
    },
    "enableLfs": {
      "description": "EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.",
      "type": "boolean"
    },
    "enableOCI": {
      "type": "boolean",
      "title": "EnableOCI specifies whether helm-oci support should be enabled for this repo"
    },
    "forceHttpBasicAuth": {
      "type": "boolean",
      "title": "ForceHttpBasicAuth specifies whether Argo CD should attempt to force basic auth for HTTP connections"
    },
    "gcpServiceAccountKey": {
      "type": "string",
      "title": "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos"
    },
    "githubAppEnterpriseBaseUrl": {
      "type": "string",
      "title": "GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com"
    },
    "githubAppID": {
      "type": "integer",
      "format": "int64",
      "title": "GithubAppId specifies the ID of the GitHub app used to access the repo"
    },
    "githubAppInstallationID": {
      "type": "integer",
      "format": "int64",
      "title": "GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo"
    },
    "githubAppPrivateKey": {
      "type": "string",
      "title": "Github App Private Key PEM data"
    },
    "inheritedCreds": {
      "type": "boolean",
      "title": "Whether credentials were inherited from a credential set"
    },
    "insecure": {
      "type": "boolean",
      "title": "Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys"
    },
    "insecureIgnoreHostKey": {
      "type": "boolean",
      "title": "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured\nUsed only for Git repos"
    },
    "insecureOCIForceHttp": {
      "description": "InsecureOCIForceHttp specifies whether the connection to the repository uses TLS at _all_. If true, no TLS. This flag is applicable for OCI repos only.",
      "type": "boolean"
    },
    "name": {
      "type": "string",
      "title": "Name specifies a name to be used for this repo. Only used with Helm repos"
    },
    "noProxy": {
      "type": "string",
      "title": "NoProxy specifies a list of targets where the proxy isn't used, applies only in cases where the proxy is applied"
    },
    "password": {
      "type": "string",
      "title": "Password contains the password or PAT used for authenticating at the remote repository"
    },
    "project": {
      "type": "string",
      "title": "Reference between project and repository that allows it to be automatically added as an item inside SourceRepos project entity"
    },
    "proxy": {
      "type": "string",
      "title": "Proxy specifies the HTTP/HTTPS proxy used to access the repo"
    },
    "repo": {
      "type": "string",
      "title": "Repo contains the URL to the remote repository"
    },
    "sshPrivateKey": {
      "description": "SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.",
      "type": "string"
    },
    "tlsClientCertData": {
      "type": "string",
      "title": "TLSClientCertData contains a certificate in PEM format for authenticating at the repo server"
    },
    "tlsClientCertKey": {
      "type": "string",
      "title": "TLSClientCertKey contains a private key in PEM format for authenticating at the repo server"
    },
    "type": {
      "description": "Type specifies the type of the repo. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
      "type": "string"
    },
    "useAzureWorkloadIdentity": {
      "type": "boolean",
      "title": "UseAzureWorkloadIdentity specifies whether to use Azure Workload Identity for authentication"
    },
    "username": {
      "type": "string",
      "title": "Username contains the user name used for authenticating at the remote repository"
    },
    "webhookManifestCacheWarmDisabled": {
      "description": "WebhookManifestCacheWarmDisabled disables manifest cache warming during webhook processing for this repository.\nWhen set, webhook handlers will only trigger reconciliation for affected applications and skip Redis cache\noperations for unaffected ones. Recommended for large monorepos with plain YAML manifests.",
      "type": "boolean"
    }
  }
}