Skip to content

Commit

Permalink
fix header formatting and some typos
Browse files Browse the repository at this point in the history
Signed-off-by: Soule BA <soule@weave.works>
  • Loading branch information
souleb committed May 10, 2022
1 parent 244afa4 commit a81acae
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/helmrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type HelmRepositorySpec struct {
AccessFrom *acl.AccessFrom `json:"accessFrom,omitempty"`

// Type of the HelmRepository.
// When this field is set to "OCI", the URL field value must be prefixed with "oci://".
// When this field is set to "oci", the URL field value must be prefixed with "oci://".
// +kubebuilder:validation:Enum=default;oci
// +optional
Type string `json:"type,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta2/helmrepository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type HelmRepositorySpec struct {
AccessFrom *acl.AccessFrom `json:"accessFrom,omitempty"`

// Type of the HelmRepository.
// When this field is set to "OCI", the URL field value must be prefixed with "oci://".
// When this field is set to "oci", the URL field value must be prefixed with "oci://".
// +kubebuilder:validation:Enum=default;oci
// +optional
Type string `json:"type,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:
images:
- name: fluxcd/source-controller
newName: fluxcd/source-controller
newTag: v0.24.4
newTag: latest
3 changes: 3 additions & 0 deletions controllers/helmrepository_controller_oci_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
/*
Copyright 2022 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
16 changes: 16 additions & 0 deletions controllers/helmrepository_predicate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2022 The Flux authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package controllers

import (
Expand Down

0 comments on commit a81acae

Please sign in to comment.