diff --git a/cmd/config/Makefile b/cmd/config/Makefile index 4c40e8b85..774bf3e15 100644 --- a/cmd/config/Makefile +++ b/cmd/config/Makefile @@ -40,7 +40,7 @@ lint: $(GOBIN)/golangci-lint license: $(GOBIN)/addlicense $(GOBIN)/addlicense \ - -y 2021 \ + -y 2022 \ -c "The Kubernetes Authors." \ -f LICENSE_TEMPLATE . diff --git a/functions/examples/application-cr/Makefile b/functions/examples/application-cr/Makefile index 670a475ab..756fcdde9 100644 --- a/functions/examples/application-cr/Makefile +++ b/functions/examples/application-cr/Makefile @@ -25,7 +25,7 @@ generate: license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . tidy: (cd image && go mod tidy) diff --git a/functions/examples/injection-tshirt-sizes/Makefile b/functions/examples/injection-tshirt-sizes/Makefile index e52c7d18d..ad8918cf9 100644 --- a/functions/examples/injection-tshirt-sizes/Makefile +++ b/functions/examples/injection-tshirt-sizes/Makefile @@ -25,7 +25,7 @@ generate: license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2020 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . tidy: (cd image && go mod tidy) diff --git a/functions/examples/template-go-nginx/Makefile b/functions/examples/template-go-nginx/Makefile index f17ce5ecb..0629f60e6 100644 --- a/functions/examples/template-go-nginx/Makefile +++ b/functions/examples/template-go-nginx/Makefile @@ -25,7 +25,7 @@ generate: license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . tidy: (cd image && go mod tidy) diff --git a/functions/examples/template-heredoc-cockroachdb/Makefile b/functions/examples/template-heredoc-cockroachdb/Makefile index 469ab5cc4..96bab5307 100644 --- a/functions/examples/template-heredoc-cockroachdb/Makefile +++ b/functions/examples/template-heredoc-cockroachdb/Makefile @@ -10,7 +10,7 @@ endif license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . all: license diff --git a/functions/examples/validator-kubeval/Makefile b/functions/examples/validator-kubeval/Makefile index 47aff3eb2..a87cd64b6 100644 --- a/functions/examples/validator-kubeval/Makefile +++ b/functions/examples/validator-kubeval/Makefile @@ -25,7 +25,7 @@ generate: license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . tidy: (cd image && go mod tidy) diff --git a/functions/examples/validator-resource-requests/Makefile b/functions/examples/validator-resource-requests/Makefile index 8bfa4d177..145394976 100644 --- a/functions/examples/validator-resource-requests/Makefile +++ b/functions/examples/validator-resource-requests/Makefile @@ -25,7 +25,7 @@ generate: license: (which $(GOBIN)/addlicense || go get github.com/google/addlicense) - $(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . + $(GOBIN)/addlicense -y 2022 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE . tidy: (cd image && go mod tidy) diff --git a/kyaml/Makefile b/kyaml/Makefile index 65707874e..3dca1442f 100644 --- a/kyaml/Makefile +++ b/kyaml/Makefile @@ -40,7 +40,7 @@ lint: $(MYGOBIN)/golangci-lint license: $(MYGOBIN)/addlicense - ( find . -type f -not -path "*/internal/forked/github.com/go-yaml*" -exec bash -c "$(MYGOBIN)/addlicense -y 2021 -c 'The Kubernetes Authors.' -f LICENSE_TEMPLATE {}" ";" ) + ( find . -type f -not -path "*/internal/forked/github.com/go-yaml*" -exec bash -c "$(MYGOBIN)/addlicense -y 2022 -c 'The Kubernetes Authors.' -f LICENSE_TEMPLATE {}" ";" ) test: go test -cover ./...