Freeze code generation boilerplate year for proper validation (#8117)

This commit is contained in:
Ricardo Katz 2022-01-09 18:45:12 -03:00 committed by GitHub
parent a13305185a
commit c917ffacd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View 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.
*/

View file

@ -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