docs: update RepoCreds Type description to include oci option (#25353)

Signed-off-by: Robin Lieb <34332703+robinlieb@users.noreply.github.com>
This commit is contained in:
Robin Lieb
2025-11-19 23:01:30 +01:00
committed by GitHub
parent 1f8e9d9a90
commit c917599b0b
3 changed files with 3 additions and 3 deletions

View File

@@ -1804,7 +1804,7 @@ message RepoCreds {
// EnableOCI specifies whether helm-oci support should be enabled for this repo
optional bool enableOCI = 11;
// Type specifies the type of the repoCreds. Can be either "git" or "helm. "git" is assumed if empty or absent.
// Type specifies the type of the repoCreds. Can be either "git", "helm" or "oci". "git" is assumed if empty or absent.
optional string type = 12;
// GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos

View File

@@ -41,7 +41,7 @@ type RepoCreds struct {
GitHubAppEnterpriseBaseURL string `json:"githubAppEnterpriseBaseUrl,omitempty" protobuf:"bytes,10,opt,name=githubAppEnterpriseBaseUrl"`
// EnableOCI specifies whether helm-oci support should be enabled for this repo
EnableOCI bool `json:"enableOCI,omitempty" protobuf:"bytes,11,opt,name=enableOCI"`
// Type specifies the type of the repoCreds. Can be either "git" or "helm. "git" is assumed if empty or absent.
// Type specifies the type of the repoCreds. Can be either "git", "helm" or "oci". "git" is assumed if empty or absent.
Type string `json:"type,omitempty" protobuf:"bytes,12,opt,name=type"`
// GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos
GCPServiceAccountKey string `json:"gcpServiceAccountKey,omitempty" protobuf:"bytes,13,opt,name=gcpServiceAccountKey"`