diff --git a/.ci/get_latest_release_component_descriptor b/.ci/get_latest_release_component_descriptor index 111385c3256..86a6509be1e 100755 --- a/.ci/get_latest_release_component_descriptor +++ b/.ci/get_latest_release_component_descriptor @@ -1,18 +1,8 @@ #!/usr/bin/env python3 # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 import util import os diff --git a/Makefile b/Makefile index ed592138e3f..8611b4aefab 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,6 @@ -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 REGISTRY := europe-docker.pkg.dev/gardener-project/snapshots/gardener APISERVER_IMAGE_REPOSITORY := $(REGISTRY)/apiserver diff --git a/example/provider-extensions/garden/configure-admission.sh b/example/provider-extensions/garden/configure-admission.sh index 7b70e48772d..a9d068aa492 100755 --- a/example/provider-extensions/garden/configure-admission.sh +++ b/example/provider-extensions/garden/configure-admission.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/registry-seed/deploy-registry.sh b/example/provider-extensions/registry-seed/deploy-registry.sh index ee926407a0c..8257e2f2b67 100755 --- a/example/provider-extensions/registry-seed/deploy-registry.sh +++ b/example/provider-extensions/registry-seed/deploy-registry.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/seed/configure-seed.sh b/example/provider-extensions/seed/configure-seed.sh index b006f46f2bc..4f9ca1fd27f 100755 --- a/example/provider-extensions/seed/configure-seed.sh +++ b/example/provider-extensions/seed/configure-seed.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/seed/create-seed.sh b/example/provider-extensions/seed/create-seed.sh index a7f62eb4608..1fbd0c72e17 100755 --- a/example/provider-extensions/seed/create-seed.sh +++ b/example/provider-extensions/seed/create-seed.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/ssh-reverse-tunnel/base/ssh/files/entrypoint.sh b/example/provider-extensions/ssh-reverse-tunnel/base/ssh/files/entrypoint.sh index 7c6988cdcc5..4446d03587b 100755 --- a/example/provider-extensions/ssh-reverse-tunnel/base/ssh/files/entrypoint.sh +++ b/example/provider-extensions/ssh-reverse-tunnel/base/ssh/files/entrypoint.sh @@ -1,17 +1,7 @@ #!/usr/bin/env sh -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 # Install openssh diff --git a/example/provider-extensions/ssh-reverse-tunnel/base/sshd/files/entrypoint.sh b/example/provider-extensions/ssh-reverse-tunnel/base/sshd/files/entrypoint.sh index c99d40484e9..43dfc130a81 100755 --- a/example/provider-extensions/ssh-reverse-tunnel/base/sshd/files/entrypoint.sh +++ b/example/provider-extensions/ssh-reverse-tunnel/base/sshd/files/entrypoint.sh @@ -1,17 +1,7 @@ #!/usr/bin/env sh -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 # Install openssh diff --git a/example/provider-extensions/ssh-reverse-tunnel/create-client-keys.sh b/example/provider-extensions/ssh-reverse-tunnel/create-client-keys.sh index d668f9b1d20..7fccd43790b 100755 --- a/example/provider-extensions/ssh-reverse-tunnel/create-client-keys.sh +++ b/example/provider-extensions/ssh-reverse-tunnel/create-client-keys.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/ssh-reverse-tunnel/create-host-keys.sh b/example/provider-extensions/ssh-reverse-tunnel/create-host-keys.sh index 21859225b1a..7bf1714e27a 100755 --- a/example/provider-extensions/ssh-reverse-tunnel/create-host-keys.sh +++ b/example/provider-extensions/ssh-reverse-tunnel/create-host-keys.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/example/provider-extensions/ssh-reverse-tunnel/prepare-seed-dir.sh b/example/provider-extensions/ssh-reverse-tunnel/prepare-seed-dir.sh index 6819e2ca51c..18fd82503cf 100755 --- a/example/provider-extensions/ssh-reverse-tunnel/prepare-seed-dir.sh +++ b/example/provider-extensions/ssh-reverse-tunnel/prepare-seed-dir.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/add-license-header.sh b/hack/add-license-header.sh index 8006aa860f7..ccae73c58cf 100755 --- a/hack/add-license-header.sh +++ b/hack/add-license-header.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check-apidiff.sh b/hack/check-apidiff.sh index 8b4f97a89ef..0b1bf535e18 100755 --- a/hack/check-apidiff.sh +++ b/hack/check-apidiff.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/check-charts.sh b/hack/check-charts.sh index 499990cd124..5fffe4a22c5 100755 --- a/hack/check-charts.sh +++ b/hack/check-charts.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check-generate.sh b/hack/check-generate.sh index 6b2e1d0ff4b..b4afc84c242 100755 --- a/hack/check-generate.sh +++ b/hack/check-generate.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check-imports.sh b/hack/check-imports.sh index 9da10643b3b..a5cc8c38683 100755 --- a/hack/check-imports.sh +++ b/hack/check-imports.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 # This script uses import-boss to check import restrictions. # It checks all imports of the given packages (including transitive imports) against rules defined in diff --git a/hack/check-license-header.sh b/hack/check-license-header.sh index 26724f58297..56642428c29 100755 --- a/hack/check-license-header.sh +++ b/hack/check-license-header.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check-plutono-dashboards.sh b/hack/check-plutono-dashboards.sh index 44e01af68b5..d344cd769e9 100755 --- a/hack/check-plutono-dashboards.sh +++ b/hack/check-plutono-dashboards.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/check-skaffold-deps-for-binary.sh b/hack/check-skaffold-deps-for-binary.sh index 0f3fcd51314..1e6c2325420 100755 --- a/hack/check-skaffold-deps-for-binary.sh +++ b/hack/check-skaffold-deps-for-binary.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check-skaffold-deps.sh b/hack/check-skaffold-deps.sh index bb89cb7ccbf..d6280527944 100755 --- a/hack/check-skaffold-deps.sh +++ b/hack/check-skaffold-deps.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/check.sh b/hack/check.sh index 2925af165c2..0097e82d732 100755 --- a/hack/check.sh +++ b/hack/check.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/ci-common.sh b/hack/ci-common.sh index 3ddc350b1a8..a1927f489fd 100644 --- a/hack/ci-common.sh +++ b/hack/ci-common.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/ci-e2e-kind-ha-multi-zone.sh b/hack/ci-e2e-kind-ha-multi-zone.sh index 844c82b07af..d254d064533 100755 --- a/hack/ci-e2e-kind-ha-multi-zone.sh +++ b/hack/ci-e2e-kind-ha-multi-zone.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind-ha-single-zone.sh b/hack/ci-e2e-kind-ha-single-zone.sh index 8917658e9d1..e31f46b2bcc 100755 --- a/hack/ci-e2e-kind-ha-single-zone.sh +++ b/hack/ci-e2e-kind-ha-single-zone.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind-migration-ha-single-zone.sh b/hack/ci-e2e-kind-migration-ha-single-zone.sh index a8de9e4b89e..ada241d07bc 100755 --- a/hack/ci-e2e-kind-migration-ha-single-zone.sh +++ b/hack/ci-e2e-kind-migration-ha-single-zone.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind-migration.sh b/hack/ci-e2e-kind-migration.sh index 930847c7cca..0ff9f6a552a 100755 --- a/hack/ci-e2e-kind-migration.sh +++ b/hack/ci-e2e-kind-migration.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind-operator.sh b/hack/ci-e2e-kind-operator.sh index 0485ed302e7..93e542d4eb9 100755 --- a/hack/ci-e2e-kind-operator.sh +++ b/hack/ci-e2e-kind-operator.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind-upgrade.sh b/hack/ci-e2e-kind-upgrade.sh index 65116c60377..c62e5a9080b 100755 --- a/hack/ci-e2e-kind-upgrade.sh +++ b/hack/ci-e2e-kind-upgrade.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/ci-e2e-kind.sh b/hack/ci-e2e-kind.sh index 36255679cb0..4980f58bde5 100755 --- a/hack/ci-e2e-kind.sh +++ b/hack/ci-e2e-kind.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o nounset set -o pipefail diff --git a/hack/clean.sh b/hack/clean.sh index f06555fd726..e23dcb43a2f 100755 --- a/hack/clean.sh +++ b/hack/clean.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/compare-k8s-admission-plugins.sh b/hack/compare-k8s-admission-plugins.sh index 70813e4e641..ff737f6ab42 100755 --- a/hack/compare-k8s-admission-plugins.sh +++ b/hack/compare-k8s-admission-plugins.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/compare-k8s-api-groups.sh b/hack/compare-k8s-api-groups.sh index 32465623169..b62c776c8c6 100755 --- a/hack/compare-k8s-api-groups.sh +++ b/hack/compare-k8s-api-groups.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/compare-k8s-controllers.sh b/hack/compare-k8s-controllers.sh index 9f345e21ad3..887a4e18960 100755 --- a/hack/compare-k8s-controllers.sh +++ b/hack/compare-k8s-controllers.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/compare-k8s-feature-gates.sh b/hack/compare-k8s-feature-gates.sh index fa4e957b155..3616b5ead7d 100755 --- a/hack/compare-k8s-feature-gates.sh +++ b/hack/compare-k8s-feature-gates.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/compute-k8s-controllers.sh b/hack/compute-k8s-controllers.sh index 353a84ddc31..fc1ccaa6fc2 100755 --- a/hack/compute-k8s-controllers.sh +++ b/hack/compute-k8s-controllers.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/download_gardener_source_code.sh b/hack/download_gardener_source_code.sh index 1cb0513b3ff..069205859f5 100755 --- a/hack/download_gardener_source_code.sh +++ b/hack/download_gardener_source_code.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/format.sh b/hack/format.sh index a8434fa2877..864a6b9267a 100755 --- a/hack/format.sh +++ b/hack/format.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/gardener-down.sh b/hack/gardener-down.sh index 4597ac1c2b4..a7889144777 100755 --- a/hack/gardener-down.sh +++ b/hack/gardener-down.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/gardener-extensions-down.sh b/hack/gardener-extensions-down.sh index 55e79052c4b..8f282e9b902 100755 --- a/hack/gardener-extensions-down.sh +++ b/hack/gardener-extensions-down.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/gardener-extensions-up.sh b/hack/gardener-extensions-up.sh index ea8c46d7f2c..dee127d6439 100755 --- a/hack/gardener-extensions-up.sh +++ b/hack/gardener-extensions-up.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/generate-crds.sh b/hack/generate-crds.sh index 271271c64d0..9a16c6605cc 100755 --- a/hack/generate-crds.sh +++ b/hack/generate-crds.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/generate-imagename-constants.sh b/hack/generate-imagename-constants.sh index 9d42d662379..98072cdd2f7 100755 --- a/hack/generate-imagename-constants.sh +++ b/hack/generate-imagename-constants.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/generate-logcheck-symlinks.sh b/hack/generate-logcheck-symlinks.sh index e079f03ca13..79ed0b59b63 100755 --- a/hack/generate-logcheck-symlinks.sh +++ b/hack/generate-logcheck-symlinks.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/generate-monitoring-docs.sh b/hack/generate-monitoring-docs.sh index bd080ac0615..ed34a04e7b1 100755 --- a/hack/generate-monitoring-docs.sh +++ b/hack/generate-monitoring-docs.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/generate-parallel.sh b/hack/generate-parallel.sh index 743530c8f42..8e47199f02c 100755 --- a/hack/generate-parallel.sh +++ b/hack/generate-parallel.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/generate-sequential.sh b/hack/generate-sequential.sh index 73d3518517e..72de3d3be26 100755 --- a/hack/generate-sequential.sh +++ b/hack/generate-sequential.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/generate.sh b/hack/generate.sh index d236964c6fe..7254d782f91 100755 --- a/hack/generate.sh +++ b/hack/generate.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/get-build-ld-flags.sh b/hack/get-build-ld-flags.sh index ccb49c097c2..51fff485004 100755 --- a/hack/get-build-ld-flags.sh +++ b/hack/get-build-ld-flags.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/hook-me.sh b/hack/hook-me.sh index 6f619ce14bf..d38d8ecd7c9 100755 --- a/hack/hook-me.sh +++ b/hack/hook-me.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/install.sh b/hack/install.sh index 25282b2e7e4..3a4d4326f98 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/kind-down.sh b/hack/kind-down.sh index ba937a9fe60..8187969adca 100755 --- a/hack/kind-down.sh +++ b/hack/kind-down.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/kind-extensions-up.sh b/hack/kind-extensions-up.sh index 88f933815e2..b7e6eacbcfa 100755 --- a/hack/kind-extensions-up.sh +++ b/hack/kind-extensions-up.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/kind-up.sh b/hack/kind-up.sh index ca276c1cefe..ea5960283f5 100755 --- a/hack/kind-up.sh +++ b/hack/kind-up.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/prepare-envtest.sh b/hack/prepare-envtest.sh index 9fe6f40467c..c8b4c27f174 100755 --- a/hack/prepare-envtest.sh +++ b/hack/prepare-envtest.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/start-envtest.sh b/hack/start-envtest.sh index 708270beb9b..5d8125611d4 100755 --- a/hack/start-envtest.sh +++ b/hack/start-envtest.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/test-cover-clean.sh b/hack/test-cover-clean.sh index b521ab435bb..236a407a3af 100755 --- a/hack/test-cover-clean.sh +++ b/hack/test-cover-clean.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/test-cover.sh b/hack/test-cover.sh index c67df801f91..488d275a368 100755 --- a/hack/test-cover.sh +++ b/hack/test-cover.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/test-e2e-local.sh b/hack/test-e2e-local.sh index c4e8e2fe71e..793c2ca7343 100755 --- a/hack/test-e2e-local.sh +++ b/hack/test-e2e-local.sh @@ -1,17 +1,7 @@ #!/usr/bin/env bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit diff --git a/hack/test-integration.sh b/hack/test-integration.sh index c36566f42b6..26eb460ef7e 100755 --- a/hack/test-integration.sh +++ b/hack/test-integration.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/test-prometheus.sh b/hack/test-prometheus.sh index 4eaeedd2c88..565d611c73a 100755 --- a/hack/test-prometheus.sh +++ b/hack/test-prometheus.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/test.sh b/hack/test.sh index 9daa5e27b13..812edd40abe 100755 --- a/hack/test.sh +++ b/hack/test.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/tools.mk b/hack/tools.mk index a7b6b5d8852..c13083c3583 100644 --- a/hack/tools.mk +++ b/hack/tools.mk @@ -1,16 +1,6 @@ -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 # This make file is supposed to be included in the top-level make file. # It can be reused by repos vendoring g/g to have some common make recipes for building and installing development diff --git a/hack/tools/install-promtool.sh b/hack/tools/install-promtool.sh index 617a85512af..7dd841819da 100755 --- a/hack/tools/install-promtool.sh +++ b/hack/tools/install-promtool.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/tools/install-protoc.sh b/hack/tools/install-protoc.sh index 33ef4ff3f4d..e3328836abe 100755 --- a/hack/tools/install-protoc.sh +++ b/hack/tools/install-protoc.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index e98695ff991..367bbca02b0 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/update-protobuf.sh b/hack/update-protobuf.sh index 656847107bd..3258627015d 100755 --- a/hack/update-protobuf.sh +++ b/hack/update-protobuf.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -o errexit set -o nounset diff --git a/hack/update-skaffold-deps.sh b/hack/update-skaffold-deps.sh index ec09bfd3b79..618b419b414 100755 --- a/hack/update-skaffold-deps.sh +++ b/hack/update-skaffold-deps.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/usage/delete b/hack/usage/delete index 62f06ae537d..80bdc9a261d 100755 --- a/hack/usage/delete +++ b/hack/usage/delete @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e set -u diff --git a/hack/usage/generate-admin-kubeconf.sh b/hack/usage/generate-admin-kubeconf.sh index e9c3e1856d9..c7a6b97a662 100755 --- a/hack/usage/generate-admin-kubeconf.sh +++ b/hack/usage/generate-admin-kubeconf.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/hack/usage/shoot-operation b/hack/usage/shoot-operation index 75f663001ff..49e40bd0850 100755 --- a/hack/usage/shoot-operation +++ b/hack/usage/shoot-operation @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 set -e set -u diff --git a/hack/usage/wait-for.sh b/hack/usage/wait-for.sh index 5a6af697c85..27ca070ea3d 100755 --- a/hack/usage/wait-for.sh +++ b/hack/usage/wait-for.sh @@ -1,18 +1,8 @@ #!/usr/bin/env bash # -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 # This script waits until all conditions are passed for a given resource in a kubernetes cluster. # It takes the resource type, object name, and a list of conditions as arguments diff --git a/hack/vgopath-setup.sh b/hack/vgopath-setup.sh index ee841f385dc..4fea5765081 100644 --- a/hack/vgopath-setup.sh +++ b/hack/vgopath-setup.sh @@ -1,16 +1,6 @@ -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" diff --git a/pkg/chartrenderer/default_test.go b/pkg/chartrenderer/default_test.go index c5d3e3241d7..3f4c054b497 100644 --- a/pkg/chartrenderer/default_test.go +++ b/pkg/chartrenderer/default_test.go @@ -65,19 +65,9 @@ rules: verbs: - create` - license = `# Copyright 2024 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file + license = `# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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.` +# SPDX-License-Identifier: Apache-2.0` ) //go:embed testdata/alpine/* diff --git a/pkg/chartrenderer/testdata/alpine/templates/alpine-resources.yaml b/pkg/chartrenderer/testdata/alpine/templates/alpine-resources.yaml index 89a2d793941..88d8fd65cb2 100755 --- a/pkg/chartrenderer/testdata/alpine/templates/alpine-resources.yaml +++ b/pkg/chartrenderer/testdata/alpine/templates/alpine-resources.yaml @@ -1,16 +1,6 @@ -# Copyright 2024 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 --- apiVersion: v1 diff --git a/pkg/component/observability/monitoring/prometheus/cache/assets/prometheusrules/metering.rules.stateful.sh b/pkg/component/observability/monitoring/prometheus/cache/assets/prometheusrules/metering.rules.stateful.sh index 133deb9c869..d4e1210c21a 100755 --- a/pkg/component/observability/monitoring/prometheus/cache/assets/prometheusrules/metering.rules.stateful.sh +++ b/pkg/component/observability/monitoring/prometheus/cache/assets/prometheusrules/metering.rules.stateful.sh @@ -1,17 +1,7 @@ #!/bin/bash -# Copyright 2023 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file. +# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors # -# 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. +# SPDX-License-Identifier: Apache-2.0 for NAME in cpu_usage cpu_requests memory_usage working_set_memory memory_requests network_transmit network_receive persistent_volume_usage; do