From c75dc7969e692bd47b39f9e5bc4860a0d70ec1c5 Mon Sep 17 00:00:00 2001 From: KubeSphere CI Bot <47586280+ks-ci-bot@users.noreply.github.com> Date: Tue, 11 Mar 2025 11:44:48 +0800 Subject: [PATCH] [release-4.1] fix: update license-eye version to v0.6.0 (#6415) fix: update license-eye version to v0.6.0 Co-authored-by: joyceliu --- hack/update-licenses.sh | 2 +- hack/verify-licenses.sh | 2 +- pkg/controller/application/delete_predicate.go | 5 +++++ .../application/helm_repo_controller.go | 17 +++-------------- pkg/kapis/application/v2/handler_appversion.go | 5 +++++ pkg/kapis/workloadtemplate/v1alpha1/handler.go | 5 +++++ pkg/kapis/workloadtemplate/v1alpha1/register.go | 5 +++++ 7 files changed, 25 insertions(+), 16 deletions(-) diff --git a/hack/update-licenses.sh b/hack/update-licenses.sh index 8dc322b70..e69458ee3 100755 --- a/hack/update-licenses.sh +++ b/hack/update-licenses.sh @@ -20,7 +20,7 @@ then # Install skywalking-eyes echo 'installing skywalking-eyes ' - go install -mod=mod github.com/apache/skywalking-eyes/cmd/license-eye@v0.4.0 + go install -mod=mod github.com/apache/skywalking-eyes/cmd/license-eye@v0.6.0 fi cd "${KUBE_ROOT}" diff --git a/hack/verify-licenses.sh b/hack/verify-licenses.sh index c0a787f56..98f6c1a2a 100755 --- a/hack/verify-licenses.sh +++ b/hack/verify-licenses.sh @@ -20,7 +20,7 @@ then # Install skywalking-eyes echo 'installing skywalking-eyes ' - go install -mod=mod github.com/apache/skywalking-eyes/cmd/license-eye@v0.2.0 + go install -mod=mod github.com/apache/skywalking-eyes/cmd/license-eye@v0.6.0 fi cd "${KUBE_ROOT}" diff --git a/pkg/controller/application/delete_predicate.go b/pkg/controller/application/delete_predicate.go index e3e3a562e..ee0c174e2 100644 --- a/pkg/controller/application/delete_predicate.go +++ b/pkg/controller/application/delete_predicate.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/application/helm_repo_controller.go b/pkg/controller/application/helm_repo_controller.go index 9261a8d15..d61c5d796 100644 --- a/pkg/controller/application/helm_repo_controller.go +++ b/pkg/controller/application/helm_repo_controller.go @@ -1,18 +1,7 @@ /* -Copyright 2023 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 application diff --git a/pkg/kapis/application/v2/handler_appversion.go b/pkg/kapis/application/v2/handler_appversion.go index 9ea42dc04..abebac47a 100644 --- a/pkg/kapis/application/v2/handler_appversion.go +++ b/pkg/kapis/application/v2/handler_appversion.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 v2 import ( diff --git a/pkg/kapis/workloadtemplate/v1alpha1/handler.go b/pkg/kapis/workloadtemplate/v1alpha1/handler.go index e1b174f49..aeafb50ae 100644 --- a/pkg/kapis/workloadtemplate/v1alpha1/handler.go +++ b/pkg/kapis/workloadtemplate/v1alpha1/handler.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 v1alpha1 import ( diff --git a/pkg/kapis/workloadtemplate/v1alpha1/register.go b/pkg/kapis/workloadtemplate/v1alpha1/register.go index 85805d283..d503b16b9 100644 --- a/pkg/kapis/workloadtemplate/v1alpha1/register.go +++ b/pkg/kapis/workloadtemplate/v1alpha1/register.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 v1alpha1 import (