Skip to content

Commit 000bf41

Browse files
hiddecostefanprodan
authored andcommitted
Address comments
1 parent 8b4432f commit 000bf41

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

docs/spec/v1alpha1/gitrepositories.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Git Repositories
22

3-
The `GitReposiory` API defines a source for artifacts coming from Git. The
3+
The `GitRepository` API defines a source for artifacts coming from Git. The
44
resource exposes the latest synchronized state from Git as an artifact in
55
an archive.
66

@@ -9,7 +9,8 @@ an archive.
99
Git repository:
1010

1111
```go
12-
// GitRepositorySpec defines the desired state of a Git repository.
12+
// GitRepositorySpec gives the specification for fetching a Git repository as
13+
// a source.
1314
type GitRepositorySpec struct {
1415
// The repository URL, can be a HTTP or SSH address.
1516
// +kubebuilder:validation:Pattern="^(http|https|ssh)://"

docs/spec/v1alpha1/helmcharts.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exposes the latest pulled chart for the defined version as an artifact.
99
Helm chart:
1010

1111
```go
12-
// HelmChart defines the desired state of a Helm chart.
12+
// HelmChartSpec defines the desired state of a Helm chart source.
1313
type HelmChartSpec struct {
1414
// The name of the Helm chart, as made available by the referenced
1515
// Helm repository.
@@ -36,7 +36,7 @@ type HelmChartSpec struct {
3636

3737
```go
3838
// HelmChartStatus defines the observed state of the HelmChart.
39-
type HelmRepositoryStatus struct {
39+
type HelmChartStatus struct {
4040
// +optional
4141
Conditions []SourceCondition `json:"conditions,omitempty"`
4242

@@ -56,10 +56,11 @@ type HelmRepositoryStatus struct {
5656
const (
5757
// ChartPullFailedReason represents the fact that the pull of the
5858
// given Helm chart failed.
59-
ChartPullFailedReason string = "ChartPullFailed"
59+
ChartPullFailedReason string = "ChartPullFailed"
60+
6061
// ChartPullSucceededReason represents the fact that the pull of
6162
// the given Helm chart succeeded.
62-
ChartPullSucceedReason string = "ChartPullSucceeded"
63+
ChartPullSucceededReason string = "ChartPullSucceeded"
6364
)
6465
```
6566

docs/spec/v1alpha1/helmrepositories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ an artifact.
99
Helm repository:
1010

1111
```go
12-
// HelmRepository defines the reference to a Helm repository.
12+
// HelmRepositorySpec defines the reference to a Helm repository.
1313
type HelmRepositorySpec struct {
1414
// The Helm repository URL, a valid URL contains at least a
1515
// protocol and host.

0 commit comments

Comments
 (0)