This repository was archived by the owner on May 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +57
-105
lines changed Expand file tree Collapse file tree 12 files changed +57
-105
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
14
25# Image URL to use all building/pushing image targets
36IMG ?= controller:latest
@@ -150,3 +153,13 @@ $(CONTROLLER_GEN): $(LOCALBIN)
150153envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
151154$(ENVTEST ) : $(LOCALBIN )
152155 test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
156+
157+ .PHONY : generate-license
158+ generate-license :
159+ for f in $( shell find . -name " *.go" -o -name " *.sh" ) ; do \
160+ reuse addheader -r \
161+ --copyright=" SAP SE or an SAP affiliate company and Open Component Model contributors." \
162+ --license=" Apache-2.0" \
163+ $$ f \
164+ --skip-unrecognised; \
165+ done
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176package v1alpha1
187
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176// Package v1alpha1 contains API Schema definitions for the delivery v1alpha1 API group
187// +kubebuilder:object:generate=true
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176package v1alpha1
187
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176package controllers
187
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176package controllers
187
Original file line number Diff line number Diff line change 1- /*
2- Copyright 2022.
3-
4- Licensed under the Apache License, Version 2.0 (the "License");
5- you may not use this file except in compliance with the License.
6- You may obtain a copy of the License at
7-
8- http://www.apache.org/licenses/LICENSE-2.0
9-
10- Unless required by applicable law or agreed to in writing, software
11- distributed under the License is distributed on an "AS IS" BASIS,
12- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- See the License for the specific language governing permissions and
14- limitations under the License.
15- */
1+ // Copyright 2022.
2+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
3+ //
4+ // SPDX-License-Identifier: Apache-2.0
165
176package main
187
Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
2+ //
3+ // SPDX-License-Identifier: Apache-2.0
4+
15package pkg
26
37import "context"
Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Open Component Model contributors.
2+ //
3+ // SPDX-License-Identifier: Apache-2.0
4+
15package pkg
26
37import "context"
You can’t perform that action at this time.
0 commit comments