From 90a3b62e79b4f7c12e15d7a7dedc9225a868ac97 Mon Sep 17 00:00:00 2001 From: hongming Date: Wed, 19 Mar 2025 14:18:09 +0800 Subject: [PATCH] chore: update license header Signed-off-by: hongming --- .../application/apprelease_webhook.go | 5 +++++ .../resource_protection_webhook.go | 5 +++++ .../serviceaccount_token_controller.go | 17 +++-------------- pkg/models/kubeconfig/options.go | 5 +++++ 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/pkg/controller/application/apprelease_webhook.go b/pkg/controller/application/apprelease_webhook.go index 5f4b56603..7ce3d7958 100644 --- a/pkg/controller/application/apprelease_webhook.go +++ b/pkg/controller/application/apprelease_webhook.go @@ -1,3 +1,8 @@ +/* + * Please refer to the LICENSE file in the root directory of the project. + * https://github.com/kubesphere/kubesphere/blob/master/LICENSE + */ + package application import ( diff --git a/pkg/controller/resourceprotection/resource_protection_webhook.go b/pkg/controller/resourceprotection/resource_protection_webhook.go index 99a45f932..0bc9a2cfd 100644 --- a/pkg/controller/resourceprotection/resource_protection_webhook.go +++ b/pkg/controller/resourceprotection/resource_protection_webhook.go @@ -1,3 +1,8 @@ +/* + * Please refer to the LICENSE file in the root directory of the project. + * https://github.com/kubesphere/kubesphere/blob/master/LICENSE + */ + package resourceprotection import ( diff --git a/pkg/controller/serviceaccounttoken/serviceaccount_token_controller.go b/pkg/controller/serviceaccounttoken/serviceaccount_token_controller.go index db1dbee23..b384f4e59 100644 --- a/pkg/controller/serviceaccounttoken/serviceaccount_token_controller.go +++ b/pkg/controller/serviceaccounttoken/serviceaccount_token_controller.go @@ -1,18 +1,7 @@ /* -Copyright 2019 The KubeSphere 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. -*/ + * Please refer to the LICENSE file in the root directory of the project. + * https://github.com/kubesphere/kubesphere/blob/master/LICENSE + */ package serviceaccounttoken diff --git a/pkg/models/kubeconfig/options.go b/pkg/models/kubeconfig/options.go index c12c5d227..737d75830 100644 --- a/pkg/models/kubeconfig/options.go +++ b/pkg/models/kubeconfig/options.go @@ -1,3 +1,8 @@ +/* + * Please refer to the LICENSE file in the root directory of the project. + * https://github.com/kubesphere/kubesphere/blob/master/LICENSE + */ + package kubeconfig const (