diff --git a/.gitignore b/.gitignore index 7d72450cd..20ea68627 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ coverage.* *.iml .DS_Store .env +.venv +__pycache__/ *.kubeconfig .kcp .kube-bind diff --git a/Dockerfile b/Dockerfile index 3a9dc8dec..8487968a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2026 The Kbind Authors. +# Copyright 2026 The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index 27e3b7c02..c3af82707 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright 2026 The Kbind Authors. +# Copyright 2026 The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -118,6 +118,11 @@ tidy: GOWORK=off go mod tidy cd sdk && GOWORK=off go mod tidy +# Generate Apache license headers on source files. +.PHONY: generate-boilerplate +generate-boilerplate: + python3 hack/generate_boilerplate.py --boilerplate-dir=hack/boilerplate + # Verify Apache license headers on source files. .PHONY: verify-boilerplate verify-boilerplate: diff --git a/backend/auth/authenticator.go b/backend/auth/authenticator.go index c66a698f8..84a45363c 100644 --- a/backend/auth/authenticator.go +++ b/backend/auth/authenticator.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/kubernetes.go b/backend/auth/kubernetes.go index 3683e0346..b2fd3efe2 100644 --- a/backend/auth/kubernetes.go +++ b/backend/auth/kubernetes.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/kubernetes_test.go b/backend/auth/kubernetes_test.go index 61b1dd567..2d178f733 100644 --- a/backend/auth/kubernetes_test.go +++ b/backend/auth/kubernetes_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/mock.go b/backend/auth/mock.go index 3c460f50e..51227560a 100644 --- a/backend/auth/mock.go +++ b/backend/auth/mock.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/oidc.go b/backend/auth/oidc.go index 1d6d8c3c8..6b2404ed4 100644 --- a/backend/auth/oidc.go +++ b/backend/auth/oidc.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/oidc_test.go b/backend/auth/oidc_test.go index bf61aa0c4..27c912dd9 100644 --- a/backend/auth/oidc_test.go +++ b/backend/auth/oidc_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/sessions.go b/backend/auth/sessions.go index 7cad97771..8878bcb7d 100644 --- a/backend/auth/sessions.go +++ b/backend/auth/sessions.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/auth/sessions_test.go b/backend/auth/sessions_test.go index fb531687a..cd2d05713 100644 --- a/backend/auth/sessions_test.go +++ b/backend/auth/sessions_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/api/types.go b/backend/gateway/api/types.go index f60d18b35..baf1b4867 100644 --- a/backend/gateway/api/types.go +++ b/backend/gateway/api/types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/apply.go b/backend/gateway/apply.go index ccadc1b61..1aad79a79 100644 --- a/backend/gateway/apply.go +++ b/backend/gateway/apply.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/bind.go b/backend/gateway/bind.go index 95d1e5be3..3516e9bec 100644 --- a/backend/gateway/bind.go +++ b/backend/gateway/bind.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/catalog.go b/backend/gateway/catalog.go index fc2d43d04..d3a54b27e 100644 --- a/backend/gateway/catalog.go +++ b/backend/gateway/catalog.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/clusters.go b/backend/gateway/clusters.go index 874b1e94b..4b60ecd6a 100644 --- a/backend/gateway/clusters.go +++ b/backend/gateway/clusters.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/instances.go b/backend/gateway/instances.go index d091cec66..a71b7c80e 100644 --- a/backend/gateway/instances.go +++ b/backend/gateway/instances.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/gateway/server.go b/backend/gateway/server.go index 4f5316fca..3863c95a3 100644 --- a/backend/gateway/server.go +++ b/backend/gateway/server.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/bundle.go b/backend/issuer/bundle.go index d566349cf..4c3477d5c 100644 --- a/backend/issuer/bundle.go +++ b/backend/issuer/bundle.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/catalog_controller.go b/backend/issuer/catalog_controller.go index 1285476a5..698946543 100644 --- a/backend/issuer/catalog_controller.go +++ b/backend/issuer/catalog_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/controller.go b/backend/issuer/controller.go index 961d3889d..2bbb2dc0c 100644 --- a/backend/issuer/controller.go +++ b/backend/issuer/controller.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/issuer.go b/backend/issuer/issuer.go index fb913214f..6bd8accce 100644 --- a/backend/issuer/issuer.go +++ b/backend/issuer/issuer.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/issuer_test.go b/backend/issuer/issuer_test.go index 33a43054f..90f5090b8 100644 --- a/backend/issuer/issuer_test.go +++ b/backend/issuer/issuer_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/issuer/kube.go b/backend/issuer/kube.go index 177d9cfa8..5d2970214 100644 --- a/backend/issuer/kube.go +++ b/backend/issuer/kube.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/reaper/reaper.go b/backend/reaper/reaper.go index 653c07151..b137ee5ec 100644 --- a/backend/reaper/reaper.go +++ b/backend/reaper/reaper.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/backend/reaper/reaper_test.go b/backend/reaper/reaper_test.go index e2d81e5e3..5146b8136 100644 --- a/backend/reaper/reaper_test.go +++ b/backend/reaper/reaper_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/client.go b/cli/client.go index bc12dfc50..165b4ac69 100644 --- a/cli/client.go +++ b/cli/client.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/bind.go b/cli/cmd/bind.go index 96edd8da9..7740324cb 100644 --- a/cli/cmd/bind.go +++ b/cli/cmd/bind.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/catalog.go b/cli/cmd/catalog.go index 5c8140838..7a33a10da 100644 --- a/cli/cmd/catalog.go +++ b/cli/cmd/catalog.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/clusters.go b/cli/cmd/clusters.go index 0bc3095be..5f1bdb126 100644 --- a/cli/cmd/clusters.go +++ b/cli/cmd/clusters.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/connect.go b/cli/cmd/connect.go index 433c02641..c3e9e72e9 100644 --- a/cli/cmd/connect.go +++ b/cli/cmd/connect.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/instances.go b/cli/cmd/instances.go index 1878001dd..5a93c60dc 100644 --- a/cli/cmd/instances.go +++ b/cli/cmd/instances.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/login.go b/cli/cmd/login.go index 8eae7cd5a..846915d88 100644 --- a/cli/cmd/login.go +++ b/cli/cmd/login.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/cmd/root.go b/cli/cmd/root.go index 84f5ba9fe..96d6a424b 100644 --- a/cli/cmd/root.go +++ b/cli/cmd/root.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/config.go b/cli/config.go index a8fd2322d..8c1d71517 100644 --- a/cli/config.go +++ b/cli/config.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cli/login.go b/cli/login.go index c1265a34b..aa101ff1c 100644 --- a/cli/login.go +++ b/cli/login.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cmd/backend/main.go b/cmd/backend/main.go index dbd2f7818..5651dc23d 100644 --- a/cmd/backend/main.go +++ b/cmd/backend/main.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cmd/bind/main.go b/cmd/bind/main.go index 0f00c08da..9bc86759a 100644 --- a/cmd/bind/main.go +++ b/cmd/bind/main.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cmd/konnector/main.go b/cmd/konnector/main.go index 429c1067a..92fd9e1b0 100644 --- a/cmd/konnector/main.go +++ b/cmd/konnector/main.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cmd/release/main.go b/cmd/release/main.go index 739ef9768..384caaa2a 100644 --- a/cmd/release/main.go +++ b/cmd/release/main.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/binding/cleanup.go b/engine/binding/cleanup.go index d8824ad61..b8f156bcc 100644 --- a/engine/binding/cleanup.go +++ b/engine/binding/cleanup.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/binding/reconciler.go b/engine/binding/reconciler.go index f28a17a6f..efc9c3231 100644 --- a/engine/binding/reconciler.go +++ b/engine/binding/reconciler.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/binding/related.go b/engine/binding/related.go index 8687303f1..c59657ce8 100644 --- a/engine/binding/related.go +++ b/engine/binding/related.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/connection/reconciler.go b/engine/connection/reconciler.go index 1ebdda949..8e37f103e 100644 --- a/engine/connection/reconciler.go +++ b/engine/connection/reconciler.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/crdpull/crdpull.go b/engine/crdpull/crdpull.go index 6733aa593..070d62ce5 100644 --- a/engine/crdpull/crdpull.go +++ b/engine/crdpull/crdpull.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/crdpull/crdpull_test.go b/engine/crdpull/crdpull_test.go index f4b74f7fd..b0f4527eb 100644 --- a/engine/crdpull/crdpull_test.go +++ b/engine/crdpull/crdpull_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/mapper/mapper.go b/engine/mapper/mapper.go index 6dc9da19d..52b6010dd 100644 --- a/engine/mapper/mapper.go +++ b/engine/mapper/mapper.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/mapper/mapper_test.go b/engine/mapper/mapper_test.go index 7abbb05fb..42733dee5 100644 --- a/engine/mapper/mapper_test.go +++ b/engine/mapper/mapper_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/openapi/openapi.go b/engine/openapi/openapi.go index 148032410..91d73e32a 100644 --- a/engine/openapi/openapi.go +++ b/engine/openapi/openapi.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/provider/connection_provider.go b/engine/provider/connection_provider.go index 939b4c4df..5b46a9294 100644 --- a/engine/provider/connection_provider.go +++ b/engine/provider/connection_provider.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/remote/remote.go b/engine/remote/remote.go index b82ff74ee..e90378733 100644 --- a/engine/remote/remote.go +++ b/engine/remote/remote.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/remote/remote_test.go b/engine/remote/remote_test.go index 700a82712..64779f7c3 100644 --- a/engine/remote/remote_test.go +++ b/engine/remote/remote_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/sync/crd_controller.go b/engine/sync/crd_controller.go index 9f46b498c..6d74c0b1c 100644 --- a/engine/sync/crd_controller.go +++ b/engine/sync/crd_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/sync/resolve.go b/engine/sync/resolve.go index 10ed3592e..ee5165645 100644 --- a/engine/sync/resolve.go +++ b/engine/sync/resolve.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/engine/sync/syncer.go b/engine/sync/syncer.go index d7db00408..feaff9902 100644 --- a/engine/sync/syncer.go +++ b/engine/sync/syncer.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/hack/boilerplate/boilerplate.Dockerfile.txt b/hack/boilerplate/boilerplate.Dockerfile.txt index 207dd2d5a..b1b685e88 100644 --- a/hack/boilerplate/boilerplate.Dockerfile.txt +++ b/hack/boilerplate/boilerplate.Dockerfile.txt @@ -1,4 +1,4 @@ -# Copyright YEAR The Kbind Authors. +# Copyright YEAR The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,4 +11,3 @@ # 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. - diff --git a/hack/boilerplate/boilerplate.Makefile.txt b/hack/boilerplate/boilerplate.Makefile.txt index 207dd2d5a..b1b685e88 100644 --- a/hack/boilerplate/boilerplate.Makefile.txt +++ b/hack/boilerplate/boilerplate.Makefile.txt @@ -1,4 +1,4 @@ -# Copyright YEAR The Kbind Authors. +# Copyright YEAR The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,4 +11,3 @@ # 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. - diff --git a/hack/boilerplate/boilerplate.generatego.txt b/hack/boilerplate/boilerplate.generatego.txt index 5ba8aed65..571123155 100644 --- a/hack/boilerplate/boilerplate.generatego.txt +++ b/hack/boilerplate/boilerplate.generatego.txt @@ -1,5 +1,5 @@ /* -Copyright The Kbind Authors. +Copyright The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -13,4 +13,3 @@ 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. */ - diff --git a/hack/boilerplate/boilerplate.go.txt b/hack/boilerplate/boilerplate.go.txt index e880d0f8a..d86a4a7bd 100644 --- a/hack/boilerplate/boilerplate.go.txt +++ b/hack/boilerplate/boilerplate.go.txt @@ -1,5 +1,5 @@ /* -Copyright YEAR The Kbind Authors. +Copyright YEAR The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -13,4 +13,3 @@ 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. */ - diff --git a/hack/boilerplate/boilerplate.py.txt b/hack/boilerplate/boilerplate.py.txt index 207dd2d5a..b1b685e88 100644 --- a/hack/boilerplate/boilerplate.py.txt +++ b/hack/boilerplate/boilerplate.py.txt @@ -1,4 +1,4 @@ -# Copyright YEAR The Kbind Authors. +# Copyright YEAR The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,4 +11,3 @@ # 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. - diff --git a/hack/boilerplate/boilerplate.sh.txt b/hack/boilerplate/boilerplate.sh.txt index 207dd2d5a..b1b685e88 100644 --- a/hack/boilerplate/boilerplate.sh.txt +++ b/hack/boilerplate/boilerplate.sh.txt @@ -1,4 +1,4 @@ -# Copyright YEAR The Kbind Authors. +# Copyright YEAR The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,4 +11,3 @@ # 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. - diff --git a/hack/demo.sh b/hack/demo.sh index 3a7d708ba..5acfa336e 100755 --- a/hack/demo.sh +++ b/hack/demo.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2026 The Kbind Authors. +# Copyright 2026 The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/hack/e2e.sh b/hack/e2e.sh index 3a8787314..46e2338ae 100755 --- a/hack/e2e.sh +++ b/hack/e2e.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2026 The Kbind Authors. +# Copyright 2026 The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/hack/generate_boilerplate.py b/hack/generate_boilerplate.py new file mode 100644 index 000000000..7bde5ff85 --- /dev/null +++ b/hack/generate_boilerplate.py @@ -0,0 +1,254 @@ +#!/usr/bin/env python3 + +# Copyright 2026 The kbind 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. + +"""Generate or update source-file boilerplate headers from templates.""" + +import argparse +import datetime +import glob +import os +import re +import sys + + +YEAR_RE = re.compile(r"\b\d{4}(?:-\d{4})?\b") +COPYRIGHT_RE = re.compile( + r"Copyright\s+(\d{4})(?:-(\d{4}))?\s+The kbind Authors\." +) + + +def get_args(): + parser = argparse.ArgumentParser() + parser.add_argument( + "filenames", + help="list of files to update, all files if unspecified", + nargs='*') + + rootdir = os.path.abspath('.') + parser.add_argument("--rootdir", + default=rootdir, + help="root directory to examine") + + default_boilerplate_dir = os.path.join(rootdir, "hack/boilerplate") + parser.add_argument("--boilerplate-dir", default=default_boilerplate_dir) + + parser.add_argument( + '--skip', + default=[ + 'external/bazel_tools', + '.git', + 'node_modules', + '_output', + 'third_party', + 'vendor', + 'verify/boilerplate/test', + 'verify_boilerplate.py', + 'generate_boilerplate.py', + ], + action='append', + help='Customize paths to avoid', + ) + parser.add_argument( + '--check', + action='store_true', + help='Report files that would be changed without writing them', + ) + return parser.parse_args() + + +def get_refs(): + refs = {} + + template_dir = ARGS.boilerplate_dir + if not os.path.isdir(template_dir): + template_dir = os.path.dirname(template_dir) + for path in glob.glob(os.path.join(template_dir, "boilerplate.*.txt")): + extension = os.path.basename(path).split(".")[1] + + with open(path, 'r', encoding='utf-8') as ref_file: + refs[extension] = ref_file.read().splitlines() + + return refs + + +def file_extension(filename): + return os.path.splitext(filename)[1].split(".")[-1].lower() + + +def has_ignored_header(pathname): + with open(pathname, 'r', encoding='utf-8') as myfile: + data = myfile.read() + return data.startswith('// Code generated by go-bindata.') + + +def normalize_files(files): + newfiles = [] + for pathname in files: + if any(x in pathname for x in ARGS.skip): + continue + newfiles.append(pathname) + for idx, pathname in enumerate(newfiles): + if not os.path.isabs(pathname): + newfiles[idx] = os.path.join(ARGS.rootdir, pathname) + return newfiles + + +def get_files(extensions): + files = [] + if ARGS.filenames: + files = ARGS.filenames + else: + for root, dirs, walkfiles in os.walk(ARGS.rootdir): + for dpath in ARGS.skip: + if dpath in dirs: + dirs.remove(dpath) + + for name in walkfiles: + files.append(os.path.join(root, name)) + + files = normalize_files(files) + outfiles = [] + for pathname in files: + basename = os.path.basename(pathname) + extension = file_extension(pathname) + if extension in extensions or basename in extensions: + if not has_ignored_header(pathname): + outfiles.append(pathname) + return outfiles + + +def get_year(): + return datetime.datetime.now().year + + +def get_year_text(header_lines, current_year): + for line in header_lines: + match = COPYRIGHT_RE.search(line) + if match is None: + continue + + start_year = match.group(1) + end_year = match.group(2) + if end_year is None: + if int(start_year) == current_year: + return start_year + return f"{start_year}-{current_year}" + + if int(end_year) == current_year: + return f"{start_year}-{end_year}" + return f"{start_year}-{current_year}" + + return str(current_year) + + +def replace_years(lines, year_text): + return [YEAR_RE.sub(year_text, line) for line in lines] + + +def render_template(lines, year_text): + return [line.replace("YEAR", year_text) for line in lines] + + +def extract_prefix(lines, extension): + prefix = [] + idx = 0 + + if extension == "go": + while idx < len(lines) and (lines[idx].startswith("//go:build") or + lines[idx].startswith("// +build")): + prefix.append(lines[idx]) + idx += 1 + if idx < len(lines) and lines[idx] == "": + prefix.append(lines[idx]) + idx += 1 + return prefix, lines[idx:] + + if extension in ("sh", "py") and lines and lines[0].startswith("#!"): + prefix.append(lines[0]) + idx = 1 + if idx < len(lines) and lines[idx] == "": + prefix.append(lines[idx]) + idx += 1 + return prefix, lines[idx:] + + return prefix, lines + + +def update_file(pathname, refs, current_year): + with open(pathname, 'r', encoding='utf-8') as fp: + original = fp.read() + + if not original: + return False + + lines = original.splitlines() + trailing_newline = original.endswith("\n") + + basename = os.path.basename(pathname) + extension = file_extension(pathname) + if extension != "": + template = refs[extension] + else: + template = refs[basename] + + prefix, body = extract_prefix(lines, extension) + existing = body[:len(template)] + normalized_existing = replace_years(existing, "YEAR") + has_header = normalized_existing == template + + if has_header: + year_text = get_year_text(existing, current_year) + rest = body[len(template):] + else: + year_text = str(current_year) + rest = body + + updated = prefix + render_template(template, year_text) + rest + new_text = "\n".join(updated) + if trailing_newline: + new_text += "\n" + + if new_text == original: + return False + + if ARGS.check: + return True + + with open(pathname, 'w', encoding='utf-8') as fp: + fp.write(new_text) + return True + + +def main(): + refs = get_refs() + filenames = get_files(refs.keys()) + current_year = get_year() + + changed = [] + for filename in sorted(filenames): + if update_file(filename, refs, current_year): + changed.append(filename) + + if changed and ARGS.check: + print('%d files would be updated:' % len(changed)) + for fp in changed: + print(os.path.relpath(fp, ARGS.rootdir)) + sys.exit(1) + + +if __name__ == "__main__": + ARGS = get_args() + main() diff --git a/hack/tilt/kind.sh b/hack/tilt/kind.sh index 406bcb6f9..6ef179748 100755 --- a/hack/tilt/kind.sh +++ b/hack/tilt/kind.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2026 The Kbind Authors. +# Copyright 2026 The kbind Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pkg/konnectorinstall/install.go b/pkg/konnectorinstall/install.go index 29456b7a2..8bbde7da4 100644 --- a/pkg/konnectorinstall/install.go +++ b/pkg/konnectorinstall/install.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/kubeapply/kubeapply.go b/pkg/kubeapply/kubeapply.go index 7307f5130..d07879b75 100644 --- a/pkg/kubeapply/kubeapply.go +++ b/pkg/kubeapply/kubeapply.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/servicecrds/install.go b/pkg/servicecrds/install.go index 38ea896ad..4c976c175 100644 --- a/pkg/servicecrds/install.go +++ b/pkg/servicecrds/install.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/collection_types.go b/sdk/apis/catalog/v1alpha1/collection_types.go index 25e1e7670..55cb940ce 100644 --- a/sdk/apis/catalog/v1alpha1/collection_types.go +++ b/sdk/apis/catalog/v1alpha1/collection_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/conditions.go b/sdk/apis/catalog/v1alpha1/conditions.go index a03ffd5f8..20a90183d 100644 --- a/sdk/apis/catalog/v1alpha1/conditions.go +++ b/sdk/apis/catalog/v1alpha1/conditions.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/doc.go b/sdk/apis/catalog/v1alpha1/doc.go index 50f0b0099..1a34c0b20 100644 --- a/sdk/apis/catalog/v1alpha1/doc.go +++ b/sdk/apis/catalog/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/export_types.go b/sdk/apis/catalog/v1alpha1/export_types.go index fbc27a7d9..634df48ba 100644 --- a/sdk/apis/catalog/v1alpha1/export_types.go +++ b/sdk/apis/catalog/v1alpha1/export_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/groupversion_info.go b/sdk/apis/catalog/v1alpha1/groupversion_info.go index 39423c0ef..c3f1a06a6 100644 --- a/sdk/apis/catalog/v1alpha1/groupversion_info.go +++ b/sdk/apis/catalog/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/catalog/v1alpha1/zz_generated.deepcopy.go b/sdk/apis/catalog/v1alpha1/zz_generated.deepcopy.go index ef24aecde..de7353552 100644 --- a/sdk/apis/catalog/v1alpha1/zz_generated.deepcopy.go +++ b/sdk/apis/catalog/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,20 @@ //go:build !ignore_autogenerated +/* +Copyright 2026 The kbind 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. +*/ // Code generated by controller-gen. DO NOT EDIT. package v1alpha1 diff --git a/sdk/apis/core/v1alpha1/binding_types.go b/sdk/apis/core/v1alpha1/binding_types.go index 4b2cab79b..12c5b1620 100644 --- a/sdk/apis/core/v1alpha1/binding_types.go +++ b/sdk/apis/core/v1alpha1/binding_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/clusterbinding_types.go b/sdk/apis/core/v1alpha1/clusterbinding_types.go index ae4b7f545..5e74d7855 100644 --- a/sdk/apis/core/v1alpha1/clusterbinding_types.go +++ b/sdk/apis/core/v1alpha1/clusterbinding_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/conditions.go b/sdk/apis/core/v1alpha1/conditions.go index d4f77e40f..6e5889ba7 100644 --- a/sdk/apis/core/v1alpha1/conditions.go +++ b/sdk/apis/core/v1alpha1/conditions.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/connection_types.go b/sdk/apis/core/v1alpha1/connection_types.go index 5026424a7..5ee850d25 100644 --- a/sdk/apis/core/v1alpha1/connection_types.go +++ b/sdk/apis/core/v1alpha1/connection_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/doc.go b/sdk/apis/core/v1alpha1/doc.go index 45ee02b7d..36bee4576 100644 --- a/sdk/apis/core/v1alpha1/doc.go +++ b/sdk/apis/core/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/groupversion_info.go b/sdk/apis/core/v1alpha1/groupversion_info.go index 197840b45..c39265c5e 100644 --- a/sdk/apis/core/v1alpha1/groupversion_info.go +++ b/sdk/apis/core/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/helpers.go b/sdk/apis/core/v1alpha1/helpers.go index 9fadf3c63..25a46663d 100644 --- a/sdk/apis/core/v1alpha1/helpers.go +++ b/sdk/apis/core/v1alpha1/helpers.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/labels.go b/sdk/apis/core/v1alpha1/labels.go index e32ab7514..912a9572d 100644 --- a/sdk/apis/core/v1alpha1/labels.go +++ b/sdk/apis/core/v1alpha1/labels.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/shared_types.go b/sdk/apis/core/v1alpha1/shared_types.go index 5ffb20c39..c7484950c 100644 --- a/sdk/apis/core/v1alpha1/shared_types.go +++ b/sdk/apis/core/v1alpha1/shared_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/core/v1alpha1/zz_generated.deepcopy.go b/sdk/apis/core/v1alpha1/zz_generated.deepcopy.go index 86057e718..d7a603667 100644 --- a/sdk/apis/core/v1alpha1/zz_generated.deepcopy.go +++ b/sdk/apis/core/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,20 @@ //go:build !ignore_autogenerated +/* +Copyright 2026 The kbind 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. +*/ // Code generated by controller-gen. DO NOT EDIT. package v1alpha1 diff --git a/sdk/apis/iam/v1alpha1/doc.go b/sdk/apis/iam/v1alpha1/doc.go index 6a73eab04..4b4d24d64 100644 --- a/sdk/apis/iam/v1alpha1/doc.go +++ b/sdk/apis/iam/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/iam/v1alpha1/grant_types.go b/sdk/apis/iam/v1alpha1/grant_types.go index 96077bebc..30312e6b4 100644 --- a/sdk/apis/iam/v1alpha1/grant_types.go +++ b/sdk/apis/iam/v1alpha1/grant_types.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/iam/v1alpha1/groupversion_info.go b/sdk/apis/iam/v1alpha1/groupversion_info.go index 60222333d..7e3b3aec2 100644 --- a/sdk/apis/iam/v1alpha1/groupversion_info.go +++ b/sdk/apis/iam/v1alpha1/groupversion_info.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/iam/v1alpha1/labels.go b/sdk/apis/iam/v1alpha1/labels.go index db5b52744..f3c64feab 100644 --- a/sdk/apis/iam/v1alpha1/labels.go +++ b/sdk/apis/iam/v1alpha1/labels.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/sdk/apis/iam/v1alpha1/zz_generated.deepcopy.go b/sdk/apis/iam/v1alpha1/zz_generated.deepcopy.go index 8fa6e06fc..2c2fbede9 100644 --- a/sdk/apis/iam/v1alpha1/zz_generated.deepcopy.go +++ b/sdk/apis/iam/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,20 @@ //go:build !ignore_autogenerated +/* +Copyright 2026 The kbind 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. +*/ // Code generated by controller-gen. DO NOT EDIT. package v1alpha1 diff --git a/test/e2e/backend_test.go b/test/e2e/backend_test.go index 8455c156b..29d9125f9 100644 --- a/test/e2e/backend_test.go +++ b/test/e2e/backend_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/dex_test.go b/test/e2e/dex_test.go index 3d642b738..95196c18e 100644 --- a/test/e2e/dex_test.go +++ b/test/e2e/dex_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/disengage_test.go b/test/e2e/disengage_test.go index 8842120d5..a76602191 100644 --- a/test/e2e/disengage_test.go +++ b/test/e2e/disengage_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 854f98588..221f4744e 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/namespaced_binding_test.go b/test/e2e/namespaced_binding_test.go index bcfc5c9be..c6eb2412b 100644 --- a/test/e2e/namespaced_binding_test.go +++ b/test/e2e/namespaced_binding_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/policies_test.go b/test/e2e/policies_test.go index 9e0875348..c2a492e66 100644 --- a/test/e2e/policies_test.go +++ b/test/e2e/policies_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/related_resources_more_test.go b/test/e2e/related_resources_more_test.go index e5f709320..3bd650845 100644 --- a/test/e2e/related_resources_more_test.go +++ b/test/e2e/related_resources_more_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/related_resources_test.go b/test/e2e/related_resources_test.go index 30f0c4b1e..547876bd4 100644 --- a/test/e2e/related_resources_test.go +++ b/test/e2e/related_resources_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/schema_source_test.go b/test/e2e/schema_source_test.go index 608f4fa84..b50e1fb29 100644 --- a/test/e2e/schema_source_test.go +++ b/test/e2e/schema_source_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/sync_test.go b/test/e2e/sync_test.go index 5dcaeaab3..e437e8dae 100644 --- a/test/e2e/sync_test.go +++ b/test/e2e/sync_test.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/web/embed.go b/web/embed.go index 07409e847..f183ff4a7 100644 --- a/web/embed.go +++ b/web/embed.go @@ -1,5 +1,5 @@ /* -Copyright 2026 The Kbind Authors. +Copyright 2026 The kbind Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.