File tree Expand file tree Collapse file tree 6 files changed +12
-8
lines changed
charts/capi-runtime-extensions/templates Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 85
85
files : " (.*\\ .go|go.mod)$"
86
86
args :
87
87
- --license-filepath
88
- - header.txt
88
+ - hack/license- header.txt
89
89
- --comment-style
90
90
- //
91
91
- --use-current-year
@@ -95,17 +95,16 @@ repos:
95
95
files : (^Makefile|\.(ya?ml|mk))$
96
96
args :
97
97
- --license-filepath
98
- - header.txt
98
+ - hack/license- header.txt
99
99
- --use-current-year
100
- exclude : ^(pkg/addons/templates/.+\.yaml|charts/.+/templates/role\.yaml||charts/.+/crds/.+\.yaml)$
101
100
- id : insert-license
102
101
name : License headers - Markdown
103
102
stages : [commit]
104
103
files : \.md$
105
104
exclude : ^CHANGELOG.md$
106
105
args :
107
106
- --license-filepath
108
- - header.txt
107
+ - hack/license- header.txt
109
108
- --comment-style
110
109
- <!--|| -->
111
110
- --use-current-year
Original file line number Diff line number Diff line change
1
+ # Copyright 2023 D2iQ, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
1
3
---
2
4
apiVersion : rbac.authorization.k8s.io/v1
3
5
kind : ClusterRole
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ # Copyright 2023 D2iQ, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change @@ -177,10 +177,11 @@ go-fix.%: ; $(info $(M) go fixing $* module)
177
177
go-generate : # # Runs go generate
178
178
go-generate : ; $(info $(M ) running go generate)
179
179
go generate -x ./...
180
- controller-gen rbac:roleName=capi-runtime-extensions-manager-role crd webhook paths=" ./..." \
181
- output:crd:artifacts:config=charts/capi-runtime-extensions/crds \
182
- output:rbac:artifacts:config=charts/capi-runtime-extensions/templates
183
- controller-gen object:headerFile=" hack/boilerplate.go.txt" paths=" ./..."
180
+ controller-gen \
181
+ rbac:headerFile=" hack/license-header.yaml.txt" ,roleName=capi-runtime-extensions-manager-role \
182
+ object:headerFile=" hack/license-header.go.txt" \
183
+ output:rbac:artifacts:config=charts/capi-runtime-extensions/templates \
184
+ paths=" ./..."
184
185
$(MAKE ) go-fix
185
186
186
187
.PHONY : go-mod-upgrade
You can’t perform that action at this time.
0 commit comments