CreateWriteRepository creates a new write repository configuration
Body
Repository definition
azureActiveDirectoryEndpointstringazureServicePrincipalClientIdstringazureServicePrincipalClientSecretstringazureServicePrincipalTenantIdstringbearerTokenstringconnectionStatev1alpha1ConnectionStatedepthinteger<int64>Depth specifies the depth for shallow clones. A value of 0 or omitting the field indicates a full clone.
enableLfsbooleanEnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.
enableOCIbooleanforceHttpBasicAuthbooleangcpServiceAccountKeystringgithubAppEnterpriseBaseUrlstringgithubAppIDinteger<int64>githubAppInstallationIDinteger<int64>githubAppPrivateKeystringinheritedCredsbooleaninsecurebooleaninsecureIgnoreHostKeybooleaninsecureOCIForceHttpbooleanInsecureOCIForceHttp specifies whether the connection to the repository uses TLS at all. If true, no TLS. This flag is applicable for OCI repos only.
namestringnoProxystringpasswordstringprojectstringproxystringrepostringsshPrivateKeystringSSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.
tlsClientCertDatastringtlsClientCertKeystringtypestringType specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.
useAzureWorkloadIdentitybooleanusernamestringwebhookManifestCacheWarmDisabledbooleanWebhookManifestCacheWarmDisabled disables manifest cache warming during webhook processing for this repository. When set, webhook handlers will only trigger reconciliation for affected applications and skip Redis cache operations for unaffected ones. Recommended for large monorepos with plain YAML manifests.
Parameters
upsertbooleanqueryWhether to create in upsert mode.
credsOnlybooleanqueryWhether to operate on credential set instead of repository.
Response
A successful response.
An unexpected error response.
Authorization
bearerapiKey in headerA token sent as Authorization: Bearer <token>. API Docs shows how to get one.
