Skip to content

Commit a81acae

Browse files
committed
fix header formatting and some typos
Signed-off-by: Soule BA <soule@weave.works>
1 parent 244afa4 commit a81acae

5 files changed

+22
-3
lines changed

api/v1beta1/helmrepository_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type HelmRepositorySpec struct {
7474
AccessFrom *acl.AccessFrom `json:"accessFrom,omitempty"`
7575

7676
// Type of the HelmRepository.
77-
// When this field is set to "OCI", the URL field value must be prefixed with "oci://".
77+
// When this field is set to "oci", the URL field value must be prefixed with "oci://".
7878
// +kubebuilder:validation:Enum=default;oci
7979
// +optional
8080
Type string `json:"type,omitempty"`

api/v1beta2/helmrepository_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type HelmRepositorySpec struct {
8383
AccessFrom *acl.AccessFrom `json:"accessFrom,omitempty"`
8484

8585
// Type of the HelmRepository.
86-
// When this field is set to "OCI", the URL field value must be prefixed with "oci://".
86+
// When this field is set to "oci", the URL field value must be prefixed with "oci://".
8787
// +kubebuilder:validation:Enum=default;oci
8888
// +optional
8989
Type string `json:"type,omitempty"`

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ resources:
66
images:
77
- name: fluxcd/source-controller
88
newName: fluxcd/source-controller
9-
newTag: v0.24.4
9+
newTag: latest

controllers/helmrepository_controller_oci_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
/*
22
Copyright 2022 The Flux authors
3+
34
Licensed under the Apache License, Version 2.0 (the "License");
45
you may not use this file except in compliance with the License.
56
You may obtain a copy of the License at
7+
68
http://www.apache.org/licenses/LICENSE-2.0
9+
710
Unless required by applicable law or agreed to in writing, software
811
distributed under the License is distributed on an "AS IS" BASIS,
912
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

controllers/helmrepository_predicate.go

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2022 The Flux authors
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
package controllers
218

319
import (

0 commit comments

Comments
 (0)