Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion cmd/cluster-operator/attachedcluster/attachedcluster.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster-operator/customcluster/customcluster.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster-operator/infra/infra.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster-operator/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster-operator/scheme/scheme.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/crd-gen-tool/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/application/application.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/backup/backup.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/options/options.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/pipeline/pipeline.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator 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
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/scheme/flux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fleet-manager/scheme/scheme.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/app.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/argocd/argocd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/install.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/istio/istio.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/karmada/karmada.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/kubeedge/kubeedge.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/pixie/pixie.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/pixie/vizier/vizier.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/prometheus/prometheus.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/submariner/submariner.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/thanos/thanos.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/install/volcano/volcano.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/join/join.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/join/karmada/karmada.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/join/kubeedge/kubeedge.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/pipeline/execution/execution.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/pipeline/execution/list/list.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/pipeline/execution/logs/logs.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/pipeline/pipeline.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/tool/tool.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/app/version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kurator/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/fleet_attachedcluster_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/framework/cluster.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/attachedcluster.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/constant.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/fleet.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/namespace.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/secret.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/resources/util.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/suite.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion e2e/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e-test/run-e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright Kurator Authors.
# Copyright 2022-2025 Kurator Authors.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/gen-prom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ JB="${REPO_ROOT}/.tools/jb"
PROM_OUT_PATH=${REPO_ROOT}/out/prom
PROM_JSONNET_FILE=${REPO_ROOT}/$1
PROM_MANIFESTS_PATH=${REPO_ROOT}/${2}
KUBE_PROM_VER=${KUBE_PROM_VER:-v0.12.0}
KUBE_PROM_VER=${KUBE_PROM_VER:-v0.13.0}

echo 'begin to generate prom manifests'
echo "jsonnet: ${PROM_JSONNET_FILE}"
Expand Down
34 changes: 34 additions & 0 deletions hack/update-copyright.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

# Copyright 2022-2025 Kurator 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.

set -e

WD=$(dirname "$0")
WD=$(cd "$WD"; pwd)

OLD_COPYRIGHT="Copyright Kurator Authors."
NEW_COPYRIGHT="Copyright 2022-2025 Kurator Authors."

echo "Searching for files with old copyright notice..."

find . -type f \( -name "*.go" -o -name "*.sh" -o -name "*.yaml" -o -name "*.yml" -o -name "*.txt" -o -name "*.md" \) -print0 | while IFS= read -r -d '' file; do
if grep -q "$OLD_COPYRIGHT" "$file"; then
echo "Updating copyright in: $file"
sed -i "s|$OLD_COPYRIGHT|$NEW_COPYRIGHT|g" "$file"
fi
done

echo "Copyright update completed."
2 changes: 1 addition & 1 deletion manifests/manifests.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright Kurator Authors.
Copyright 2022-2025 Kurator Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading
Loading