diff --git a/api/porchconfig/v1alpha1/config.porch.kpt.dev_repositories.yaml b/api/porchconfig/v1alpha1/config.porch.kpt.dev_repositories.yaml index ea123ff3..044f07c9 100644 --- a/api/porchconfig/v1alpha1/config.porch.kpt.dev_repositories.yaml +++ b/api/porchconfig/v1alpha1/config.porch.kpt.dev_repositories.yaml @@ -93,8 +93,8 @@ spec: description: User-friendly description of the repository type: string git: - description: OCI repository details. Required if `type` is `oci`. - Ignored if `type` is not `oci`. + description: Git repository details. Required if `type` is `git`. + Ignored if `type` is not `git`. properties: branch: default: main diff --git a/api/porchconfig/v1alpha1/types.go b/api/porchconfig/v1alpha1/types.go index 50fb06db..1012c4cf 100644 --- a/api/porchconfig/v1alpha1/types.go +++ b/api/porchconfig/v1alpha1/types.go @@ -69,7 +69,7 @@ type RepositorySpec struct { // DB repository details. Required if `type` is `db`. Ignored if `type` is not `db`. DB *DBRepository `json:"db,omitempty"` - // OCI repository details. Required if `type` is `oci`. Ignored if `type` is not `oci`. + // Git repository details. Required if `type` is `git`. Ignored if `type` is not `git`. Git *GitRepository `json:"git,omitempty"` // OCI repository details. Required if `type` is `oci`. Ignored if `type` is not `oci`. Oci *OciRepository `json:"oci,omitempty"` @@ -143,7 +143,7 @@ type UpstreamRepository struct { Type RepositoryType `json:"type,omitempty"` // DB repository details. Required if `type` is `db`. Must be unspecified if `type` is not `db`. DB *DBRepository `json:"db,omitempty"` - // OCI repository details. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`. + // Git repository details. Required if `type` is `git`. Must be unspecified if `type` is not `git`. Git *GitRepository `json:"git,omitempty"` // OCI repository details. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`. Oci *OciRepository `json:"oci,omitempty"`