Freeze code generation boilerplate year for proper validation (#8117)
This commit is contained in:
parent
a13305185a
commit
c917ffacd2
2 changed files with 17 additions and 1 deletions
16
hack/boilerplate/boilerplate.generated.go.txt
Normal file
16
hack/boilerplate/boilerplate.generated.go.txt
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
Copyright 2021 The Kubernetes 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.
|
||||||
|
*/
|
||||||
|
|
|
@ -41,4 +41,4 @@ ${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
|
||||||
k8s.io/ingress-nginx/internal k8s.io/ingress-nginx/internal \
|
k8s.io/ingress-nginx/internal k8s.io/ingress-nginx/internal \
|
||||||
.:ingress \
|
.:ingress \
|
||||||
--output-base "$(dirname ${BASH_SOURCE})/../../.." \
|
--output-base "$(dirname ${BASH_SOURCE})/../../.." \
|
||||||
--go-header-file ${SCRIPT_ROOT}/hack/boilerplate/boilerplate.go.txt
|
--go-header-file ${SCRIPT_ROOT}/hack/boilerplate/boilerplate.generated.go.txt
|
||||||
|
|
Loading…
Reference in a new issue