diff --git a/.golangci.yaml b/.golangci.yaml index 866753088..6fdb9c347 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -39,7 +39,7 @@ linters: min-occurrences: 2 goheader: template: |- - Copyright 2020-2025 Project Capsule Authors + Copyright 2020-2026 Project Capsule Authors SPDX-License-Identifier: Apache-2.0 inamedparam: skip-single-param: true diff --git a/Makefile b/Makefile index 71e9c101e..e49ee3e3d 100644 --- a/Makefile +++ b/Makefile @@ -453,7 +453,7 @@ nwa: $(call go-install-tool,$(NWA),github.com/$(NWA_LOOKUP)@$(NWA_VERSION)) GOLANGCI_LINT := $(LOCALBIN)/golangci-lint -GOLANGCI_LINT_VERSION := v2.7.2 +GOLANGCI_LINT_VERSION := v2.8.0 GOLANGCI_LINT_LOOKUP := golangci/golangci-lint golangci-lint: ## Download golangci-lint locally if necessary. @test -s $(GOLANGCI_LINT) && $(GOLANGCI_LINT) -h | grep -q $(GOLANGCI_LINT_VERSION) || \ diff --git a/api/v1beta1/custom_resource_quota.go b/api/v1beta1/custom_resource_quota.go index d89916869..e0e3bb12d 100644 --- a/api/v1beta1/custom_resource_quota.go +++ b/api/v1beta1/custom_resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/deny_wildcard.go b/api/v1beta1/deny_wildcard.go index 3e20bae92..96a823be5 100644 --- a/api/v1beta1/deny_wildcard.go +++ b/api/v1beta1/deny_wildcard.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/groupversion_info.go b/api/v1beta1/groupversion_info.go index 4882f2d1b..799b16945 100644 --- a/api/v1beta1/groupversion_info.go +++ b/api/v1beta1/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 // Package v1beta1 contains API Schema definitions for the capsule v1beta1 API group diff --git a/api/v1beta1/ingress_options.go b/api/v1beta1/ingress_options.go index 0028212c0..5b1226d0f 100644 --- a/api/v1beta1/ingress_options.go +++ b/api/v1beta1/ingress_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/namespace_options.go b/api/v1beta1/namespace_options.go index 3a9a2040b..920933757 100644 --- a/api/v1beta1/namespace_options.go +++ b/api/v1beta1/namespace_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner.go b/api/v1beta1/owner.go index aec851ae1..b42cc79a8 100644 --- a/api/v1beta1/owner.go +++ b/api/v1beta1/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner_list.go b/api/v1beta1/owner_list.go index e98d79560..d507c1a47 100644 --- a/api/v1beta1/owner_list.go +++ b/api/v1beta1/owner_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner_role.go b/api/v1beta1/owner_role.go index e1f2f8625..35c11db1c 100644 --- a/api/v1beta1/owner_role.go +++ b/api/v1beta1/owner_role.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/service_allowed_types.go b/api/v1beta1/service_allowed_types.go index a28b90daf..c0981a789 100644 --- a/api/v1beta1/service_allowed_types.go +++ b/api/v1beta1/service_allowed_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/service_options.go b/api/v1beta1/service_options.go index 04a23b292..e9316ef00 100644 --- a/api/v1beta1/service_options.go +++ b/api/v1beta1/service_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_func.go b/api/v1beta1/tenant_func.go index a99bc54e6..526f66466 100644 --- a/api/v1beta1/tenant_func.go +++ b/api/v1beta1/tenant_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_status.go b/api/v1beta1/tenant_status.go index 69df9a5ef..b1022c33f 100644 --- a/api/v1beta1/tenant_status.go +++ b/api/v1beta1/tenant_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_types.go b/api/v1beta1/tenant_types.go index a33bfa8ce..af636df74 100644 --- a/api/v1beta1/tenant_types.go +++ b/api/v1beta1/tenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_webhook.go b/api/v1beta1/tenant_webhook.go index 34e352a13..af3011826 100644 --- a/api/v1beta1/tenant_webhook.go +++ b/api/v1beta1/tenant_webhook.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta2/additional_role_bindings.go b/api/v1beta2/additional_role_bindings.go index bfc858803..4b55e419b 100644 --- a/api/v1beta2/additional_role_bindings.go +++ b/api/v1beta2/additional_role_bindings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/capsuleconfiguration_status.go b/api/v1beta2/capsuleconfiguration_status.go index b62f05c02..a13734494 100644 --- a/api/v1beta2/capsuleconfiguration_status.go +++ b/api/v1beta2/capsuleconfiguration_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/capsuleconfiguration_types.go b/api/v1beta2/capsuleconfiguration_types.go index cee5851bf..4afa88597 100644 --- a/api/v1beta2/capsuleconfiguration_types.go +++ b/api/v1beta2/capsuleconfiguration_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/custom_resource_quota.go b/api/v1beta2/custom_resource_quota.go index dd68d2fd8..9f97ac459 100644 --- a/api/v1beta2/custom_resource_quota.go +++ b/api/v1beta2/custom_resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/gateway_options.go b/api/v1beta2/gateway_options.go index 65c469c9b..e7d6a7cb8 100644 --- a/api/v1beta2/gateway_options.go +++ b/api/v1beta2/gateway_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/groupversion_info.go b/api/v1beta2/groupversion_info.go index 6ddda2b24..d975bb5f8 100644 --- a/api/v1beta2/groupversion_info.go +++ b/api/v1beta2/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 // Package v1beta2 contains API Schema definitions for the capsule v1beta2 API group diff --git a/api/v1beta2/ingress_options.go b/api/v1beta2/ingress_options.go index 3779372a4..bfd6b1a81 100644 --- a/api/v1beta2/ingress_options.go +++ b/api/v1beta2/ingress_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/namespace_options.go b/api/v1beta2/namespace_options.go index 2321ff2a4..a711265a2 100644 --- a/api/v1beta2/namespace_options.go +++ b/api/v1beta2/namespace_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/resourcepool_func.go b/api/v1beta2/resourcepool_func.go index 229ac8e42..5b54770b3 100644 --- a/api/v1beta2/resourcepool_func.go +++ b/api/v1beta2/resourcepool_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/resourcepool_status.go b/api/v1beta2/resourcepool_status.go index 4c87180c1..565a169c9 100644 --- a/api/v1beta2/resourcepool_status.go +++ b/api/v1beta2/resourcepool_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/resourcepool_types.go b/api/v1beta2/resourcepool_types.go index 007a102f1..e9549657e 100644 --- a/api/v1beta2/resourcepool_types.go +++ b/api/v1beta2/resourcepool_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/resourcepoolclaim_func.go b/api/v1beta2/resourcepoolclaim_func.go index b18e14cc2..3af24069c 100644 --- a/api/v1beta2/resourcepoolclaim_func.go +++ b/api/v1beta2/resourcepoolclaim_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/resourcepoolclaim_types.go b/api/v1beta2/resourcepoolclaim_types.go index bd2542ba9..3aa085b73 100644 --- a/api/v1beta2/resourcepoolclaim_types.go +++ b/api/v1beta2/resourcepoolclaim_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_annotations.go b/api/v1beta2/tenant_annotations.go index b3f4e77bf..d6bd85af7 100644 --- a/api/v1beta2/tenant_annotations.go +++ b/api/v1beta2/tenant_annotations.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_conversion_hub.go b/api/v1beta2/tenant_conversion_hub.go index c56c21b25..dc12dcb69 100644 --- a/api/v1beta2/tenant_conversion_hub.go +++ b/api/v1beta2/tenant_conversion_hub.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_func.go b/api/v1beta2/tenant_func.go index f96850bd8..e0df16fd8 100644 --- a/api/v1beta2/tenant_func.go +++ b/api/v1beta2/tenant_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -75,7 +75,7 @@ func (in *Tenant) CollectOwners(ctx context.Context, c client.Client, allowPromo } func (in *Tenant) GetRoleBindings() []api.AdditionalRoleBindingsSpec { - roleBindings := make([]api.AdditionalRoleBindingsSpec, 0) + roleBindings := make([]api.AdditionalRoleBindingsSpec, 0) //nolint:prealloc for _, owner := range in.Status.Owners { roleBindings = append(roleBindings, owner.ToAdditionalRolebindings()...) diff --git a/api/v1beta2/tenant_labels.go b/api/v1beta2/tenant_labels.go index 93bc2905c..cc9e6413b 100644 --- a/api/v1beta2/tenant_labels.go +++ b/api/v1beta2/tenant_labels.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_status.go b/api/v1beta2/tenant_status.go index 576026687..0a1927597 100644 --- a/api/v1beta2/tenant_status.go +++ b/api/v1beta2/tenant_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_types.go b/api/v1beta2/tenant_types.go index eaafa7d63..a43b56548 100644 --- a/api/v1beta2/tenant_types.go +++ b/api/v1beta2/tenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenantowner_types.go b/api/v1beta2/tenantowner_types.go index f9e3166c1..906b38c8a 100644 --- a/api/v1beta2/tenantowner_types.go +++ b/api/v1beta2/tenantowner_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenantresource_global.go b/api/v1beta2/tenantresource_global.go index feb98675c..6d1022366 100644 --- a/api/v1beta2/tenantresource_global.go +++ b/api/v1beta2/tenantresource_global.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenantresource_namespaced.go b/api/v1beta2/tenantresource_namespaced.go index 3151c9282..a9cd1d65c 100644 --- a/api/v1beta2/tenantresource_namespaced.go +++ b/api/v1beta2/tenantresource_namespaced.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenantresource_types.go b/api/v1beta2/tenantresource_types.go index 8803c1ec6..0cd6f8e9a 100644 --- a/api/v1beta2/tenantresource_types.go +++ b/api/v1beta2/tenantresource_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/cmd/main.go b/cmd/main.go index a5465697a..f8bb83a4a 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package main diff --git a/cmd/version.go b/cmd/version.go index 05a8b5a19..dcf4aac35 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package main diff --git a/internal/controllers/cfg/manager.go b/internal/controllers/cfg/manager.go index 7e152b25d..924221b9e 100644 --- a/internal/controllers/cfg/manager.go +++ b/internal/controllers/cfg/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package config diff --git a/internal/controllers/pod/errors.go b/internal/controllers/pod/errors.go index e79710658..0765259e4 100644 --- a/internal/controllers/pod/errors.go +++ b/internal/controllers/pod/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/controllers/pod/metadata.go b/internal/controllers/pod/metadata.go index ae46a7289..139f205d3 100644 --- a/internal/controllers/pod/metadata.go +++ b/internal/controllers/pod/metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/controllers/pv/controller.go b/internal/controllers/pv/controller.go index 5982005db..03b56412c 100644 --- a/internal/controllers/pv/controller.go +++ b/internal/controllers/pv/controller.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pv diff --git a/internal/controllers/rbac/manager.go b/internal/controllers/rbac/manager.go index 0b8acbc02..655092176 100644 --- a/internal/controllers/rbac/manager.go +++ b/internal/controllers/rbac/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package rbac diff --git a/internal/controllers/resourcepools/claim_controller.go b/internal/controllers/resourcepools/claim_controller.go index 8b3f4f1a5..53de60c29 100644 --- a/internal/controllers/resourcepools/claim_controller.go +++ b/internal/controllers/resourcepools/claim_controller.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepools diff --git a/internal/controllers/resourcepools/manager.go b/internal/controllers/resourcepools/manager.go index 6a14adf76..03c247daf 100644 --- a/internal/controllers/resourcepools/manager.go +++ b/internal/controllers/resourcepools/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepools diff --git a/internal/controllers/resourcepools/pool_controller.go b/internal/controllers/resourcepools/pool_controller.go index 7229b217e..4b0217de0 100644 --- a/internal/controllers/resourcepools/pool_controller.go +++ b/internal/controllers/resourcepools/pool_controller.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepools @@ -350,9 +350,9 @@ func (r *resourcePoolController) handleClaimResourceExhaustion( currentExhaustions map[string]api.PoolExhaustionResource, exhaustions map[string]api.PoolExhaustionResource, ) (err error) { - status := make([]string, 0) + status := make([]string, 0) //nolint:prealloc - resourceNames := make([]string, 0) + resourceNames := make([]string, 0) //nolint:prealloc for resourceName := range currentExhaustions { resourceNames = append(resourceNames, resourceName) } diff --git a/internal/controllers/resources/global.go b/internal/controllers/resources/global.go index 611e29e56..b22cded05 100644 --- a/internal/controllers/resources/global.go +++ b/internal/controllers/resources/global.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resources diff --git a/internal/controllers/resources/namespaced.go b/internal/controllers/resources/namespaced.go index ab7961424..6f87c73a4 100644 --- a/internal/controllers/resources/namespaced.go +++ b/internal/controllers/resources/namespaced.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resources diff --git a/internal/controllers/resources/processor.go b/internal/controllers/resources/processor.go index 79286d67a..33532f3d3 100644 --- a/internal/controllers/resources/processor.go +++ b/internal/controllers/resources/processor.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resources diff --git a/internal/controllers/servicelabels/abstract.go b/internal/controllers/servicelabels/abstract.go index b7a683d7d..5640fca83 100644 --- a/internal/controllers/servicelabels/abstract.go +++ b/internal/controllers/servicelabels/abstract.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/internal/controllers/servicelabels/endpoint_slices.go b/internal/controllers/servicelabels/endpoint_slices.go index 66077d06a..eafbc1f7a 100644 --- a/internal/controllers/servicelabels/endpoint_slices.go +++ b/internal/controllers/servicelabels/endpoint_slices.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/internal/controllers/servicelabels/errors.go b/internal/controllers/servicelabels/errors.go index 5903d2f19..3e57e1716 100644 --- a/internal/controllers/servicelabels/errors.go +++ b/internal/controllers/servicelabels/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/internal/controllers/servicelabels/service.go b/internal/controllers/servicelabels/service.go index ecd583e49..39d3bbc63 100644 --- a/internal/controllers/servicelabels/service.go +++ b/internal/controllers/servicelabels/service.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/internal/controllers/tenant/limitranges.go b/internal/controllers/tenant/limitranges.go index 46d49e144..80bdf6d5e 100644 --- a/internal/controllers/tenant/limitranges.go +++ b/internal/controllers/tenant/limitranges.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/controllers/tenant/manager.go b/internal/controllers/tenant/manager.go index 167a9df67..9672f4a11 100644 --- a/internal/controllers/tenant/manager.go +++ b/internal/controllers/tenant/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/metadata.go b/internal/controllers/tenant/metadata.go index 505ad18a5..49cc0c5cc 100644 --- a/internal/controllers/tenant/metadata.go +++ b/internal/controllers/tenant/metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/metrics.go b/internal/controllers/tenant/metrics.go index 46b5669b5..ebd8bbd63 100644 --- a/internal/controllers/tenant/metrics.go +++ b/internal/controllers/tenant/metrics.go @@ -1,5 +1,6 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 + package tenant import ( diff --git a/internal/controllers/tenant/namespaces.go b/internal/controllers/tenant/namespaces.go index 814470ce1..865a2dbfa 100644 --- a/internal/controllers/tenant/namespaces.go +++ b/internal/controllers/tenant/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/networkpolicies.go b/internal/controllers/tenant/networkpolicies.go index e4ab66868..b13004dc8 100644 --- a/internal/controllers/tenant/networkpolicies.go +++ b/internal/controllers/tenant/networkpolicies.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/controllers/tenant/resourcequotas.go b/internal/controllers/tenant/resourcequotas.go index 01063f2d7..67045fe92 100644 --- a/internal/controllers/tenant/resourcequotas.go +++ b/internal/controllers/tenant/resourcequotas.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/resourcequotas_quota.go b/internal/controllers/tenant/resourcequotas_quota.go index 92abfd661..ccfd9c0ea 100644 --- a/internal/controllers/tenant/resourcequotas_quota.go +++ b/internal/controllers/tenant/resourcequotas_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant @@ -25,7 +25,7 @@ func (r *Manager) syncCustomResourceQuotaUsages(ctx context.Context, tenant *cap group string version string } - //nolint:prealloc + //nolintlint:prealloc var resourceList []resource for k := range tenant.GetAnnotations() { diff --git a/internal/controllers/tenant/rolebindings.go b/internal/controllers/tenant/rolebindings.go index 60d7ac053..42d85a1a3 100644 --- a/internal/controllers/tenant/rolebindings.go +++ b/internal/controllers/tenant/rolebindings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/status.go b/internal/controllers/tenant/status.go index 5bd8055dc..3786fe606 100644 --- a/internal/controllers/tenant/status.go +++ b/internal/controllers/tenant/status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tenant/utils.go b/internal/controllers/tenant/utils.go index d9fdd5e66..9b66e25fe 100644 --- a/internal/controllers/tenant/utils.go +++ b/internal/controllers/tenant/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/controllers/tls/errors.go b/internal/controllers/tls/errors.go index de14123dd..b96cd95d0 100644 --- a/internal/controllers/tls/errors.go +++ b/internal/controllers/tls/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tls diff --git a/internal/controllers/tls/manager.go b/internal/controllers/tls/manager.go index 3c99d1e3d..2b05f299e 100644 --- a/internal/controllers/tls/manager.go +++ b/internal/controllers/tls/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tls diff --git a/internal/controllers/utils/gvk.go b/internal/controllers/utils/gvk.go index cf93a435a..3dbcd9af8 100644 --- a/internal/controllers/utils/gvk.go +++ b/internal/controllers/utils/gvk.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/controllers/utils/options.go b/internal/controllers/utils/options.go index 0357aba7c..a517ccd0a 100644 --- a/internal/controllers/utils/options.go +++ b/internal/controllers/utils/options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/controllers/utils/predicates.go b/internal/controllers/utils/predicates.go index a58d6092b..b91abbfe5 100644 --- a/internal/controllers/utils/predicates.go +++ b/internal/controllers/utils/predicates.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/metrics/claim_recorder.go b/internal/metrics/claim_recorder.go index afcc28a30..889e6df56 100644 --- a/internal/metrics/claim_recorder.go +++ b/internal/metrics/claim_recorder.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package metrics diff --git a/internal/metrics/pool_recorder.go b/internal/metrics/pool_recorder.go index 73b733bc4..fccf90a9b 100644 --- a/internal/metrics/pool_recorder.go +++ b/internal/metrics/pool_recorder.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package metrics diff --git a/internal/metrics/tenant_recorder.go b/internal/metrics/tenant_recorder.go index 0c34bf2c3..474da3fc9 100644 --- a/internal/metrics/tenant_recorder.go +++ b/internal/metrics/tenant_recorder.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package metrics diff --git a/internal/metrics/utils.go b/internal/metrics/utils.go index 95db2c96b..a8fc6b06a 100644 --- a/internal/metrics/utils.go +++ b/internal/metrics/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package metrics diff --git a/internal/webhook/cfg/warnings.go b/internal/webhook/cfg/warnings.go index 4394413f2..e17a9fffe 100644 --- a/internal/webhook/cfg/warnings.go +++ b/internal/webhook/cfg/warnings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package cfg diff --git a/internal/webhook/defaults/errors.go b/internal/webhook/defaults/errors.go index 2890c4641..6f3536b0f 100644 --- a/internal/webhook/defaults/errors.go +++ b/internal/webhook/defaults/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/defaults/gateway.go b/internal/webhook/defaults/gateway.go index e2d7b3ba0..a7055bbea 100644 --- a/internal/webhook/defaults/gateway.go +++ b/internal/webhook/defaults/gateway.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/defaults/handler.go b/internal/webhook/defaults/handler.go index 37327a6a9..b582e88bf 100644 --- a/internal/webhook/defaults/handler.go +++ b/internal/webhook/defaults/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/defaults/ingress.go b/internal/webhook/defaults/ingress.go index 35eda2c11..de81c4d94 100644 --- a/internal/webhook/defaults/ingress.go +++ b/internal/webhook/defaults/ingress.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/defaults/pods.go b/internal/webhook/defaults/pods.go index 1cae1fc1b..4ad29307f 100644 --- a/internal/webhook/defaults/pods.go +++ b/internal/webhook/defaults/pods.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/defaults/storage.go b/internal/webhook/defaults/storage.go index df28a3acd..0d82af4b6 100644 --- a/internal/webhook/defaults/storage.go +++ b/internal/webhook/defaults/storage.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package defaults diff --git a/internal/webhook/dra/errors.go b/internal/webhook/dra/errors.go index 226589aa9..9616fd451 100644 --- a/internal/webhook/dra/errors.go +++ b/internal/webhook/dra/errors.go @@ -1,5 +1,6 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 + package dra import ( diff --git a/internal/webhook/dra/validate.go b/internal/webhook/dra/validate.go index e034b2777..ded00b2f9 100644 --- a/internal/webhook/dra/validate.go +++ b/internal/webhook/dra/validate.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package dra diff --git a/internal/webhook/gateway/errors.go b/internal/webhook/gateway/errors.go index b91224dc2..ed48c3fae 100644 --- a/internal/webhook/gateway/errors.go +++ b/internal/webhook/gateway/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package gateway diff --git a/internal/webhook/gateway/utils.go b/internal/webhook/gateway/utils.go index 969cd27d6..61a1cfe9e 100644 --- a/internal/webhook/gateway/utils.go +++ b/internal/webhook/gateway/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package gateway diff --git a/internal/webhook/gateway/validate_class.go b/internal/webhook/gateway/validate_class.go index f20fd11ef..27bf211d4 100644 --- a/internal/webhook/gateway/validate_class.go +++ b/internal/webhook/gateway/validate_class.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package gateway diff --git a/internal/webhook/handler.go b/internal/webhook/handler.go index aef3c690b..374080843 100644 --- a/internal/webhook/handler.go +++ b/internal/webhook/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/internal/webhook/ingress/errors.go b/internal/webhook/ingress/errors.go index 29f2f95c2..4233fbaef 100644 --- a/internal/webhook/ingress/errors.go +++ b/internal/webhook/ingress/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/types.go b/internal/webhook/ingress/types.go index a31920be1..fba8b5d37 100644 --- a/internal/webhook/ingress/types.go +++ b/internal/webhook/ingress/types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/utils.go b/internal/webhook/ingress/utils.go index 0b36f880c..3a45d3baa 100644 --- a/internal/webhook/ingress/utils.go +++ b/internal/webhook/ingress/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/validate_class.go b/internal/webhook/ingress/validate_class.go index c7dc38ed6..913a22484 100644 --- a/internal/webhook/ingress/validate_class.go +++ b/internal/webhook/ingress/validate_class.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/validate_collision.go b/internal/webhook/ingress/validate_collision.go index 7ca977d6c..8088bcdf4 100644 --- a/internal/webhook/ingress/validate_collision.go +++ b/internal/webhook/ingress/validate_collision.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/validate_hostnames.go b/internal/webhook/ingress/validate_hostnames.go index acab84746..22fdc3036 100644 --- a/internal/webhook/ingress/validate_hostnames.go +++ b/internal/webhook/ingress/validate_hostnames.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/ingress/validate_wildcard.go b/internal/webhook/ingress/validate_wildcard.go index 4691dcebb..43436fbe0 100644 --- a/internal/webhook/ingress/validate_wildcard.go +++ b/internal/webhook/ingress/validate_wildcard.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/internal/webhook/misc/tenant_assignment.go b/internal/webhook/misc/tenant_assignment.go index 60e9211c2..c068a7c68 100644 --- a/internal/webhook/misc/tenant_assignment.go +++ b/internal/webhook/misc/tenant_assignment.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package misc diff --git a/internal/webhook/namespace/mutation/cordoning.go b/internal/webhook/namespace/mutation/cordoning.go index 22995f41d..d038f6f27 100644 --- a/internal/webhook/namespace/mutation/cordoning.go +++ b/internal/webhook/namespace/mutation/cordoning.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package mutation diff --git a/internal/webhook/namespace/mutation/handler.go b/internal/webhook/namespace/mutation/handler.go index fc964f7f1..b57e47ac1 100644 --- a/internal/webhook/namespace/mutation/handler.go +++ b/internal/webhook/namespace/mutation/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package mutation diff --git a/internal/webhook/namespace/mutation/metadata.go b/internal/webhook/namespace/mutation/metadata.go index 28b41ccb9..ddee24fbe 100644 --- a/internal/webhook/namespace/mutation/metadata.go +++ b/internal/webhook/namespace/mutation/metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package mutation diff --git a/internal/webhook/namespace/mutation/ownerreference.go b/internal/webhook/namespace/mutation/ownerreference.go index 64ca1362a..00fb40522 100644 --- a/internal/webhook/namespace/mutation/ownerreference.go +++ b/internal/webhook/namespace/mutation/ownerreference.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package mutation diff --git a/internal/webhook/namespace/validation/errors.go b/internal/webhook/namespace/validation/errors.go index 667c3c4b9..92211c120 100644 --- a/internal/webhook/namespace/validation/errors.go +++ b/internal/webhook/namespace/validation/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/freezed.go b/internal/webhook/namespace/validation/freezed.go index 57b635996..2e9b80579 100644 --- a/internal/webhook/namespace/validation/freezed.go +++ b/internal/webhook/namespace/validation/freezed.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/handler.go b/internal/webhook/namespace/validation/handler.go index 94789893a..d914bbc9c 100644 --- a/internal/webhook/namespace/validation/handler.go +++ b/internal/webhook/namespace/validation/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/patch.go b/internal/webhook/namespace/validation/patch.go index 7878e2c6b..7d93d729b 100644 --- a/internal/webhook/namespace/validation/patch.go +++ b/internal/webhook/namespace/validation/patch.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/prefix.go b/internal/webhook/namespace/validation/prefix.go index 064e37976..f5b23096b 100644 --- a/internal/webhook/namespace/validation/prefix.go +++ b/internal/webhook/namespace/validation/prefix.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/quota.go b/internal/webhook/namespace/validation/quota.go index 855b35a29..0ad456faf 100644 --- a/internal/webhook/namespace/validation/quota.go +++ b/internal/webhook/namespace/validation/quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/namespace/validation/user_metadata.go b/internal/webhook/namespace/validation/user_metadata.go index c0be31dbb..667664100 100644 --- a/internal/webhook/namespace/validation/user_metadata.go +++ b/internal/webhook/namespace/validation/user_metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/networkpolicy/validating.go b/internal/webhook/networkpolicy/validating.go index fa8293daa..de8f79637 100644 --- a/internal/webhook/networkpolicy/validating.go +++ b/internal/webhook/networkpolicy/validating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package networkpolicy diff --git a/internal/webhook/node/errors.go b/internal/webhook/node/errors.go index b32c57ad4..a2a95ded0 100644 --- a/internal/webhook/node/errors.go +++ b/internal/webhook/node/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package node diff --git a/internal/webhook/node/user_metadata.go b/internal/webhook/node/user_metadata.go index 0493c42ea..c553ed32d 100644 --- a/internal/webhook/node/user_metadata.go +++ b/internal/webhook/node/user_metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package node diff --git a/internal/webhook/pod/containerregistry.go b/internal/webhook/pod/containerregistry.go index d7f549efb..25f1ef09b 100644 --- a/internal/webhook/pod/containerregistry.go +++ b/internal/webhook/pod/containerregistry.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/containerregistry_errors.go b/internal/webhook/pod/containerregistry_errors.go index 884d14975..15182beb2 100644 --- a/internal/webhook/pod/containerregistry_errors.go +++ b/internal/webhook/pod/containerregistry_errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/containerregistry_registry.go b/internal/webhook/pod/containerregistry_registry.go index fe7d87ec7..d3136ff43 100644 --- a/internal/webhook/pod/containerregistry_registry.go +++ b/internal/webhook/pod/containerregistry_registry.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/handler.go b/internal/webhook/pod/handler.go index 2e5b447f1..97325f849 100644 --- a/internal/webhook/pod/handler.go +++ b/internal/webhook/pod/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/imagepullpolicy.go b/internal/webhook/pod/imagepullpolicy.go index 255ee6bbf..a4dfd31c8 100644 --- a/internal/webhook/pod/imagepullpolicy.go +++ b/internal/webhook/pod/imagepullpolicy.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/imagepullpolicy_errors.go b/internal/webhook/pod/imagepullpolicy_errors.go index 002ba48aa..89e851ec0 100644 --- a/internal/webhook/pod/imagepullpolicy_errors.go +++ b/internal/webhook/pod/imagepullpolicy_errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/imagepullpolicy_pullpolicy.go b/internal/webhook/pod/imagepullpolicy_pullpolicy.go index ae19c1a0f..e348dd2b1 100644 --- a/internal/webhook/pod/imagepullpolicy_pullpolicy.go +++ b/internal/webhook/pod/imagepullpolicy_pullpolicy.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/priorityclass.go b/internal/webhook/pod/priorityclass.go index 3ae425afb..37c414f05 100644 --- a/internal/webhook/pod/priorityclass.go +++ b/internal/webhook/pod/priorityclass.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/priorityclass_errors.go b/internal/webhook/pod/priorityclass_errors.go index 5d682351d..303ba139e 100644 --- a/internal/webhook/pod/priorityclass_errors.go +++ b/internal/webhook/pod/priorityclass_errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/runtimeclass.go b/internal/webhook/pod/runtimeclass.go index a57d8d9ff..c53ba3778 100644 --- a/internal/webhook/pod/runtimeclass.go +++ b/internal/webhook/pod/runtimeclass.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pod/runtimeclass_errors.go b/internal/webhook/pod/runtimeclass_errors.go index 55e4d997b..61d90c7c2 100644 --- a/internal/webhook/pod/runtimeclass_errors.go +++ b/internal/webhook/pod/runtimeclass_errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pod diff --git a/internal/webhook/pvc/errors.go b/internal/webhook/pvc/errors.go index c11656344..98fbc539f 100644 --- a/internal/webhook/pvc/errors.go +++ b/internal/webhook/pvc/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/internal/webhook/pvc/handler.go b/internal/webhook/pvc/handler.go index c744ec0fb..2e444575b 100644 --- a/internal/webhook/pvc/handler.go +++ b/internal/webhook/pvc/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/internal/webhook/pvc/pv.go b/internal/webhook/pvc/pv.go index 519648f8c..4efe218f3 100644 --- a/internal/webhook/pvc/pv.go +++ b/internal/webhook/pvc/pv.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/internal/webhook/pvc/validating.go b/internal/webhook/pvc/validating.go index 85c23098d..a3465dcae 100644 --- a/internal/webhook/pvc/validating.go +++ b/internal/webhook/pvc/validating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/internal/webhook/resourcepool/claim_mutating.go b/internal/webhook/resourcepool/claim_mutating.go index 81bc28cb2..e3d687748 100644 --- a/internal/webhook/resourcepool/claim_mutating.go +++ b/internal/webhook/resourcepool/claim_mutating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/internal/webhook/resourcepool/claim_validating.go b/internal/webhook/resourcepool/claim_validating.go index bd42a51f7..34816b794 100644 --- a/internal/webhook/resourcepool/claim_validating.go +++ b/internal/webhook/resourcepool/claim_validating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/internal/webhook/resourcepool/pool_mutating.go b/internal/webhook/resourcepool/pool_mutating.go index f5d9e1f37..779aa5448 100644 --- a/internal/webhook/resourcepool/pool_mutating.go +++ b/internal/webhook/resourcepool/pool_mutating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/internal/webhook/resourcepool/pool_validation.go b/internal/webhook/resourcepool/pool_validation.go index 2c07570a1..809f11423 100644 --- a/internal/webhook/resourcepool/pool_validation.go +++ b/internal/webhook/resourcepool/pool_validation.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/internal/webhook/route/config.go b/internal/webhook/route/config.go index 7f202fafb..70c673f16 100644 --- a/internal/webhook/route/config.go +++ b/internal/webhook/route/config.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/cordoning.go b/internal/webhook/route/cordoning.go index 4510b89dd..d24cd752e 100644 --- a/internal/webhook/route/cordoning.go +++ b/internal/webhook/route/cordoning.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/customresources.go b/internal/webhook/route/customresources.go index a67485d54..3f3f26313 100644 --- a/internal/webhook/route/customresources.go +++ b/internal/webhook/route/customresources.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/defaults.go b/internal/webhook/route/defaults.go index b716840f1..00ad3db2e 100644 --- a/internal/webhook/route/defaults.go +++ b/internal/webhook/route/defaults.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/deviceclass.go b/internal/webhook/route/deviceclass.go index eb90b6797..db533ae07 100644 --- a/internal/webhook/route/deviceclass.go +++ b/internal/webhook/route/deviceclass.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/gateway.go b/internal/webhook/route/gateway.go index efa6f2cdb..60c63bf0e 100644 --- a/internal/webhook/route/gateway.go +++ b/internal/webhook/route/gateway.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/ingresses.go b/internal/webhook/route/ingresses.go index 484ea0964..53b13860f 100644 --- a/internal/webhook/route/ingresses.go +++ b/internal/webhook/route/ingresses.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/misc.go b/internal/webhook/route/misc.go index d875ccb0e..6469dcf71 100644 --- a/internal/webhook/route/misc.go +++ b/internal/webhook/route/misc.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/namespaces.go b/internal/webhook/route/namespaces.go index 91691390a..7cc480256 100644 --- a/internal/webhook/route/namespaces.go +++ b/internal/webhook/route/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/route/networkpolicies.go b/internal/webhook/route/networkpolicies.go index ec830d4ef..80cb8e5c3 100644 --- a/internal/webhook/route/networkpolicies.go +++ b/internal/webhook/route/networkpolicies.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/node.go b/internal/webhook/route/node.go index 34237dbee..58108752f 100644 --- a/internal/webhook/route/node.go +++ b/internal/webhook/route/node.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/ownerreference.go b/internal/webhook/route/ownerreference.go index bfdef7cdf..75c814a83 100644 --- a/internal/webhook/route/ownerreference.go +++ b/internal/webhook/route/ownerreference.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/pods.go b/internal/webhook/route/pods.go index 051f34df9..a966e5739 100644 --- a/internal/webhook/route/pods.go +++ b/internal/webhook/route/pods.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/pvc.go b/internal/webhook/route/pvc.go index 253cae938..45b86320e 100644 --- a/internal/webhook/route/pvc.go +++ b/internal/webhook/route/pvc.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/resourcepool.go b/internal/webhook/route/resourcepool.go index d387c5672..fbb5dd815 100644 --- a/internal/webhook/route/resourcepool.go +++ b/internal/webhook/route/resourcepool.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/serviceaccounts.go b/internal/webhook/route/serviceaccounts.go index 2ac4d668b..bc39d7ba9 100644 --- a/internal/webhook/route/serviceaccounts.go +++ b/internal/webhook/route/serviceaccounts.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/services.go b/internal/webhook/route/services.go index f731602dc..f3cfa59c2 100644 --- a/internal/webhook/route/services.go +++ b/internal/webhook/route/services.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/tenantresource_objs.go b/internal/webhook/route/tenantresource_objs.go index 12f82d51f..5c55dd6a0 100644 --- a/internal/webhook/route/tenantresource_objs.go +++ b/internal/webhook/route/tenantresource_objs.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package route diff --git a/internal/webhook/route/tenants.go b/internal/webhook/route/tenants.go index f897f0504..7d894f2e9 100644 --- a/internal/webhook/route/tenants.go +++ b/internal/webhook/route/tenants.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/router.go b/internal/webhook/router.go index 1f30bfb4b..27f107747 100644 --- a/internal/webhook/router.go +++ b/internal/webhook/router.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/internal/webhook/service/errors.go b/internal/webhook/service/errors.go index dd3c1bcd6..7c1ae238e 100644 --- a/internal/webhook/service/errors.go +++ b/internal/webhook/service/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/webhook/service/handler.go b/internal/webhook/service/handler.go index f205ba729..f818e0844 100644 --- a/internal/webhook/service/handler.go +++ b/internal/webhook/service/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/webhook/service/validating.go b/internal/webhook/service/validating.go index e77b2689d..90dbaa4d8 100644 --- a/internal/webhook/service/validating.go +++ b/internal/webhook/service/validating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package service diff --git a/internal/webhook/serviceaccounts/handler.go b/internal/webhook/serviceaccounts/handler.go index 7505b752f..b3d1c54e5 100644 --- a/internal/webhook/serviceaccounts/handler.go +++ b/internal/webhook/serviceaccounts/handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package serviceaccounts diff --git a/internal/webhook/serviceaccounts/validating.go b/internal/webhook/serviceaccounts/validating.go index cd96b9280..181bd723e 100644 --- a/internal/webhook/serviceaccounts/validating.go +++ b/internal/webhook/serviceaccounts/validating.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package serviceaccounts diff --git a/internal/webhook/tenant/mutation/metadata.go b/internal/webhook/tenant/mutation/metadata.go index c7062a066..7807486d6 100644 --- a/internal/webhook/tenant/mutation/metadata.go +++ b/internal/webhook/tenant/mutation/metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package mutation diff --git a/internal/webhook/tenant/validation/containerregistry_regex.go b/internal/webhook/tenant/validation/containerregistry_regex.go index 6a133f655..c325bb570 100644 --- a/internal/webhook/tenant/validation/containerregistry_regex.go +++ b/internal/webhook/tenant/validation/containerregistry_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/tenant/validation/cordoning.go b/internal/webhook/tenant/validation/cordoning.go index a9b47de3a..741b65057 100644 --- a/internal/webhook/tenant/validation/cordoning.go +++ b/internal/webhook/tenant/validation/cordoning.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/custom_resource_quota.go b/internal/webhook/tenant/validation/custom_resource_quota.go index 4224831d5..4cfc2b3b2 100644 --- a/internal/webhook/tenant/validation/custom_resource_quota.go +++ b/internal/webhook/tenant/validation/custom_resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/custom_resource_quota_errors.go b/internal/webhook/tenant/validation/custom_resource_quota_errors.go index cb16b65d6..5dd58792c 100644 --- a/internal/webhook/tenant/validation/custom_resource_quota_errors.go +++ b/internal/webhook/tenant/validation/custom_resource_quota_errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/forbidden_annotations_regex.go b/internal/webhook/tenant/validation/forbidden_annotations_regex.go index c1db9856c..9655a250a 100644 --- a/internal/webhook/tenant/validation/forbidden_annotations_regex.go +++ b/internal/webhook/tenant/validation/forbidden_annotations_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/freezed_emitter.go b/internal/webhook/tenant/validation/freezed_emitter.go index 7534a0b73..49cc7d898 100644 --- a/internal/webhook/tenant/validation/freezed_emitter.go +++ b/internal/webhook/tenant/validation/freezed_emitter.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/hostname_regex.go b/internal/webhook/tenant/validation/hostname_regex.go index fe5d88e85..0b36b36ce 100644 --- a/internal/webhook/tenant/validation/hostname_regex.go +++ b/internal/webhook/tenant/validation/hostname_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/tenant/validation/ingressclass_regex.go b/internal/webhook/tenant/validation/ingressclass_regex.go index 1e478c2f8..4455c83fc 100644 --- a/internal/webhook/tenant/validation/ingressclass_regex.go +++ b/internal/webhook/tenant/validation/ingressclass_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/tenant/validation/name.go b/internal/webhook/tenant/validation/name.go index 6581fa5a2..f4b4ae58b 100644 --- a/internal/webhook/tenant/validation/name.go +++ b/internal/webhook/tenant/validation/name.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/protected.go b/internal/webhook/tenant/validation/protected.go index 246f69bca..63efff553 100644 --- a/internal/webhook/tenant/validation/protected.go +++ b/internal/webhook/tenant/validation/protected.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/rolebindings_regex.go b/internal/webhook/tenant/validation/rolebindings_regex.go index 297316b6a..bbf5ed26a 100644 --- a/internal/webhook/tenant/validation/rolebindings_regex.go +++ b/internal/webhook/tenant/validation/rolebindings_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/serviceaccount_format.go b/internal/webhook/tenant/validation/serviceaccount_format.go index dfb489ee9..43cdf02e2 100644 --- a/internal/webhook/tenant/validation/serviceaccount_format.go +++ b/internal/webhook/tenant/validation/serviceaccount_format.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenant/validation/storageclass_regex.go b/internal/webhook/tenant/validation/storageclass_regex.go index eeb6bd061..fb0d41791 100644 --- a/internal/webhook/tenant/validation/storageclass_regex.go +++ b/internal/webhook/tenant/validation/storageclass_regex.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/tenant/validation/warnings.go b/internal/webhook/tenant/validation/warnings.go index 56c8286ae..878fe0917 100644 --- a/internal/webhook/tenant/validation/warnings.go +++ b/internal/webhook/tenant/validation/warnings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package validation diff --git a/internal/webhook/tenantresource/objects.go b/internal/webhook/tenantresource/objects.go index c771a9141..6a981927d 100644 --- a/internal/webhook/tenantresource/objects.go +++ b/internal/webhook/tenantresource/objects.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/internal/webhook/utils/error.go b/internal/webhook/utils/error.go index 851110551..9992f7f99 100644 --- a/internal/webhook/utils/error.go +++ b/internal/webhook/utils/error.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/webhook/utils/in_capsule_groups.go b/internal/webhook/utils/in_capsule_groups.go index f8f16ec03..376e974a7 100644 --- a/internal/webhook/utils/in_capsule_groups.go +++ b/internal/webhook/utils/in_capsule_groups.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/webhook/utils/kubernetes_version.go b/internal/webhook/utils/kubernetes_version.go index 9ad5762fc..36ab5c656 100644 --- a/internal/webhook/utils/kubernetes_version.go +++ b/internal/webhook/utils/kubernetes_version.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/webhook/utils/resources.go b/internal/webhook/utils/resources.go index b98970756..f22d02e18 100644 --- a/internal/webhook/utils/resources.go +++ b/internal/webhook/utils/resources.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/webhook/utils/tenant_get.go b/internal/webhook/utils/tenant_get.go index 13b062841..e68831c3e 100644 --- a/internal/webhook/utils/tenant_get.go +++ b/internal/webhook/utils/tenant_get.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/internal/webhook/utils/typed_tenant_handler.go b/internal/webhook/utils/typed_tenant_handler.go index 10783d38c..713e73f0a 100644 --- a/internal/webhook/utils/typed_tenant_handler.go +++ b/internal/webhook/utils/typed_tenant_handler.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/internal/webhook/webhook.go b/internal/webhook/webhook.go index a14255d91..b571183f0 100644 --- a/internal/webhook/webhook.go +++ b/internal/webhook/webhook.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/pkg/api/additional_metadata.go b/pkg/api/additional_metadata.go index 4833c7bb4..8b1b08d1b 100644 --- a/pkg/api/additional_metadata.go +++ b/pkg/api/additional_metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/additional_role_bindings.go b/pkg/api/additional_role_bindings.go index 9c9315dbf..ed2bdd65d 100644 --- a/pkg/api/additional_role_bindings.go +++ b/pkg/api/additional_role_bindings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/allowed_list.go b/pkg/api/allowed_list.go index 780b49705..264289fc7 100644 --- a/pkg/api/allowed_list.go +++ b/pkg/api/allowed_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/exhaustion.go b/pkg/api/exhaustion.go index eb149873f..22eaecf68 100644 --- a/pkg/api/exhaustion.go +++ b/pkg/api/exhaustion.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/external_service_ips.go b/pkg/api/external_service_ips.go index 6ba63342c..c60fd9c9b 100644 --- a/pkg/api/external_service_ips.go +++ b/pkg/api/external_service_ips.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/forbidden_list.go b/pkg/api/forbidden_list.go index da577ea52..d961d8491 100644 --- a/pkg/api/forbidden_list.go +++ b/pkg/api/forbidden_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/hostname_collision_scope.go b/pkg/api/hostname_collision_scope.go index dfede8a5a..de97ddcfc 100644 --- a/pkg/api/hostname_collision_scope.go +++ b/pkg/api/hostname_collision_scope.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/image_pull_policy.go b/pkg/api/image_pull_policy.go index 02f431548..ab301f982 100644 --- a/pkg/api/image_pull_policy.go +++ b/pkg/api/image_pull_policy.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/limit_ranges.go b/pkg/api/limit_ranges.go index a7998d541..8069245df 100644 --- a/pkg/api/limit_ranges.go +++ b/pkg/api/limit_ranges.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/meta/annotations.go b/pkg/api/meta/annotations.go index e04840f0d..407742bd3 100644 --- a/pkg/api/meta/annotations.go +++ b/pkg/api/meta/annotations.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/conditions.go b/pkg/api/meta/conditions.go index 8e65db403..277c8bb59 100644 --- a/pkg/api/meta/conditions.go +++ b/pkg/api/meta/conditions.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/finalizers.go b/pkg/api/meta/finalizers.go index ffbc0b5e6..92122459d 100644 --- a/pkg/api/meta/finalizers.go +++ b/pkg/api/meta/finalizers.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/labels.go b/pkg/api/meta/labels.go index e452acae5..50e98d580 100644 --- a/pkg/api/meta/labels.go +++ b/pkg/api/meta/labels.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/names.go b/pkg/api/meta/names.go index d6ffbdbf6..91d489eac 100644 --- a/pkg/api/meta/names.go +++ b/pkg/api/meta/names.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/ownerreference.go b/pkg/api/meta/ownerreference.go index 6a6e27345..322399d7b 100644 --- a/pkg/api/meta/ownerreference.go +++ b/pkg/api/meta/ownerreference.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/meta/ownership.go b/pkg/api/meta/ownership.go index 732f781e9..809387cd1 100644 --- a/pkg/api/meta/ownership.go +++ b/pkg/api/meta/ownership.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package meta diff --git a/pkg/api/misc/selectors.go b/pkg/api/misc/selectors.go index 003c91719..7b42b581f 100644 --- a/pkg/api/misc/selectors.go +++ b/pkg/api/misc/selectors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package misc diff --git a/pkg/api/network_policy.go b/pkg/api/network_policy.go index 329dc7e7e..075be7b38 100644 --- a/pkg/api/network_policy.go +++ b/pkg/api/network_policy.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/owner.go b/pkg/api/owner.go index f400f08c2..1d7438a63 100644 --- a/pkg/api/owner.go +++ b/pkg/api/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/owner_list.go b/pkg/api/owner_list.go index dcb3123a9..4a3bc8e52 100644 --- a/pkg/api/owner_list.go +++ b/pkg/api/owner_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/owner_status_list.go b/pkg/api/owner_status_list.go index 679439358..d4fc61c9f 100644 --- a/pkg/api/owner_status_list.go +++ b/pkg/api/owner_status_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/pod_options.go b/pkg/api/pod_options.go index 56bbd1edc..957e65fb9 100644 --- a/pkg/api/pod_options.go +++ b/pkg/api/pod_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/rbac.go b/pkg/api/rbac.go index 89178b6c8..8e66f53e5 100644 --- a/pkg/api/rbac.go +++ b/pkg/api/rbac.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/resource_quota.go b/pkg/api/resource_quota.go index a9a7c18aa..9217dfc2f 100644 --- a/pkg/api/resource_quota.go +++ b/pkg/api/resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/service_allowed_types.go b/pkg/api/service_allowed_types.go index dc889c51f..56c02e29e 100644 --- a/pkg/api/service_allowed_types.go +++ b/pkg/api/service_allowed_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/service_options.go b/pkg/api/service_options.go index 03a4ddf19..62c73bfed 100644 --- a/pkg/api/service_options.go +++ b/pkg/api/service_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/status.go b/pkg/api/status.go index 1015e1faa..aed3f7b02 100644 --- a/pkg/api/status.go +++ b/pkg/api/status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/status_namespaces.go b/pkg/api/status_namespaces.go index 69ab177de..8f17fe97f 100644 --- a/pkg/api/status_namespaces.go +++ b/pkg/api/status_namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/tenant_roles.go b/pkg/api/tenant_roles.go index a31f92444..affae3383 100644 --- a/pkg/api/tenant_roles.go +++ b/pkg/api/tenant_roles.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/users.go b/pkg/api/users.go index 093f994ea..6ef76e052 100644 --- a/pkg/api/users.go +++ b/pkg/api/users.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/api/users_list.go b/pkg/api/users_list.go index fd833ac34..c9b5b9ebd 100644 --- a/pkg/api/users_list.go +++ b/pkg/api/users_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package api diff --git a/pkg/cert/ca.go b/pkg/cert/ca.go index f5861a931..296a86af5 100644 --- a/pkg/cert/ca.go +++ b/pkg/cert/ca.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/cert/errors.go b/pkg/cert/errors.go index 61cc2b583..fa0c91750 100644 --- a/pkg/cert/errors.go +++ b/pkg/cert/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/cert/options.go b/pkg/cert/options.go index 9b875c6f9..5164a1313 100644 --- a/pkg/cert/options.go +++ b/pkg/cert/options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/configuration/client.go b/pkg/configuration/client.go index eb9227dd7..58aa463ab 100644 --- a/pkg/configuration/client.go +++ b/pkg/configuration/client.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package configuration diff --git a/pkg/configuration/configuration.go b/pkg/configuration/configuration.go index 6b208eb4b..76dceec66 100644 --- a/pkg/configuration/configuration.go +++ b/pkg/configuration/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package configuration diff --git a/pkg/indexer/indexer.go b/pkg/indexer/indexer.go index deb76ee62..f1f6a38bc 100644 --- a/pkg/indexer/indexer.go +++ b/pkg/indexer/indexer.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package indexer diff --git a/pkg/indexer/ingress/hostname_path.go b/pkg/indexer/ingress/hostname_path.go index d704927fb..5e7335d69 100644 --- a/pkg/indexer/ingress/hostname_path.go +++ b/pkg/indexer/ingress/hostname_path.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/indexer/ingress/utils.go b/pkg/indexer/ingress/utils.go index 87a43986a..a0f606844 100644 --- a/pkg/indexer/ingress/utils.go +++ b/pkg/indexer/ingress/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/indexer/namespace/namespaces.go b/pkg/indexer/namespace/namespaces.go index a63ab373e..ba55ed70d 100644 --- a/pkg/indexer/namespace/namespaces.go +++ b/pkg/indexer/namespace/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/pkg/indexer/resourcepool/claim.go b/pkg/indexer/resourcepool/claim.go index f397131f2..03bde8920 100644 --- a/pkg/indexer/resourcepool/claim.go +++ b/pkg/indexer/resourcepool/claim.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/pkg/indexer/resourcepool/namespaces.go b/pkg/indexer/resourcepool/namespaces.go index 28e60c673..964b2c3c6 100644 --- a/pkg/indexer/resourcepool/namespaces.go +++ b/pkg/indexer/resourcepool/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package resourcepool diff --git a/pkg/indexer/tenant/namespaces.go b/pkg/indexer/tenant/namespaces.go index 3268d9ece..021a6974a 100644 --- a/pkg/indexer/tenant/namespaces.go +++ b/pkg/indexer/tenant/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/indexer/tenant/owner.go b/pkg/indexer/tenant/owner.go index 8b63c9c0f..6d9928c01 100644 --- a/pkg/indexer/tenant/owner.go +++ b/pkg/indexer/tenant/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/indexer/tenantresource/constants.go b/pkg/indexer/tenantresource/constants.go index 87fb3f9c3..e750fb028 100644 --- a/pkg/indexer/tenantresource/constants.go +++ b/pkg/indexer/tenantresource/constants.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenantresource diff --git a/pkg/indexer/tenantresource/global.go b/pkg/indexer/tenantresource/global.go index 075824a24..d91291d8e 100644 --- a/pkg/indexer/tenantresource/global.go +++ b/pkg/indexer/tenantresource/global.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/pkg/indexer/tenantresource/local.go b/pkg/indexer/tenantresource/local.go index 48132a193..60a14d9e0 100644 --- a/pkg/indexer/tenantresource/local.go +++ b/pkg/indexer/tenantresource/local.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 //nolint:dupl diff --git a/pkg/template/fast.go b/pkg/template/fast.go index 12934aaa5..dbd26edf2 100644 --- a/pkg/template/fast.go +++ b/pkg/template/fast.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package template diff --git a/pkg/utils/errors.go b/pkg/utils/errors.go index 8cf888b4f..c6350fb68 100644 --- a/pkg/utils/errors.go +++ b/pkg/utils/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/hashes.go b/pkg/utils/hashes.go index 42ab2eab4..b8569c8c8 100644 --- a/pkg/utils/hashes.go +++ b/pkg/utils/hashes.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/maps.go b/pkg/utils/maps.go index cd50bb04e..2c8ad7b5a 100644 --- a/pkg/utils/maps.go +++ b/pkg/utils/maps.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/namespace_selector.go b/pkg/utils/namespace_selector.go index 483d1974d..a46df9c9c 100644 --- a/pkg/utils/namespace_selector.go +++ b/pkg/utils/namespace_selector.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/node_selector.go b/pkg/utils/node_selector.go index 1725e0a8a..204078019 100644 --- a/pkg/utils/node_selector.go +++ b/pkg/utils/node_selector.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/tenant/get_by.go b/pkg/utils/tenant/get_by.go index 88aeb8513..2c4e04d35 100644 --- a/pkg/utils/tenant/get_by.go +++ b/pkg/utils/tenant/get_by.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant/metdata.go b/pkg/utils/tenant/metdata.go index 3ddfa258d..273ecf02b 100644 --- a/pkg/utils/tenant/metdata.go +++ b/pkg/utils/tenant/metdata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant/owned.go b/pkg/utils/tenant/owned.go index 06dbbb8d0..31311aff8 100644 --- a/pkg/utils/tenant/owned.go +++ b/pkg/utils/tenant/owned.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant/owner_reference.go b/pkg/utils/tenant/owner_reference.go index 47adede87..87aa8bddf 100644 --- a/pkg/utils/tenant/owner_reference.go +++ b/pkg/utils/tenant/owner_reference.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant/owners.go b/pkg/utils/tenant/owners.go index 8c85c0687..9ef8dd3dd 100644 --- a/pkg/utils/tenant/owners.go +++ b/pkg/utils/tenant/owners.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant/types.go b/pkg/utils/tenant/types.go index 266e07997..0865d7805 100644 --- a/pkg/utils/tenant/types.go +++ b/pkg/utils/tenant/types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/tenant_labels.go b/pkg/utils/tenant_labels.go index 4f66a0d69..56727b2e3 100644 --- a/pkg/utils/tenant_labels.go +++ b/pkg/utils/tenant_labels.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/users/is_admin_user.go b/pkg/utils/users/is_admin_user.go index 7d1d9375b..76d97e8b7 100644 --- a/pkg/utils/users/is_admin_user.go +++ b/pkg/utils/users/is_admin_user.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package users diff --git a/pkg/utils/users/is_capsule_user.go b/pkg/utils/users/is_capsule_user.go index bc260e263..6c9541cf7 100644 --- a/pkg/utils/users/is_capsule_user.go +++ b/pkg/utils/users/is_capsule_user.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package users diff --git a/pkg/utils/users/is_tenant_owner.go b/pkg/utils/users/is_tenant_owner.go index 0b34f70a8..18c2a9f76 100644 --- a/pkg/utils/users/is_tenant_owner.go +++ b/pkg/utils/users/is_tenant_owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package users diff --git a/pkg/utils/users/serviceaccounts.go b/pkg/utils/users/serviceaccounts.go index e47eac0e2..da9a54df6 100644 --- a/pkg/utils/users/serviceaccounts.go +++ b/pkg/utils/users/serviceaccounts.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package users diff --git a/pkg/utils/users/user_group.go b/pkg/utils/users/user_group.go index 956a93561..14bd19f9f 100644 --- a/pkg/utils/users/user_group.go +++ b/pkg/utils/users/user_group.go @@ -1,4 +1,4 @@ -// Copyright 2020-2025 Project Capsule Authors +// Copyright 2020-2026 Project Capsule Authors // SPDX-License-Identifier: Apache-2.0 package users