diff --git a/api/v1alpha1/allowed_list.go b/api/v1alpha1/allowed_list.go index 6346626b..db2c6ed8 100644 --- a/api/v1alpha1/allowed_list.go +++ b/api/v1alpha1/allowed_list.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/allowed_list_test.go b/api/v1alpha1/allowed_list_test.go index 47d92a9a..33608854 100644 --- a/api/v1alpha1/allowed_list_test.go +++ b/api/v1alpha1/allowed_list_test.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/capsuleconfiguration_types.go b/api/v1alpha1/capsuleconfiguration_types.go index c33804ea..2b297d6f 100644 --- a/api/v1alpha1/capsuleconfiguration_types.go +++ b/api/v1alpha1/capsuleconfiguration_types.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/domain/allowed.go b/api/v1alpha1/domain/allowed.go index b3bc8aee..d2273953 100644 --- a/api/v1alpha1/domain/allowed.go +++ b/api/v1alpha1/domain/allowed.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package domain diff --git a/api/v1alpha1/domain/podpriority.go b/api/v1alpha1/domain/podpriority.go index a5cd62ef..a58be96f 100644 --- a/api/v1alpha1/domain/podpriority.go +++ b/api/v1alpha1/domain/podpriority.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package domain diff --git a/api/v1alpha1/domain/registry.go b/api/v1alpha1/domain/registry.go index b6c1a064..cd840cd8 100644 --- a/api/v1alpha1/domain/registry.go +++ b/api/v1alpha1/domain/registry.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package domain diff --git a/api/v1alpha1/domain/registry_test.go b/api/v1alpha1/domain/registry_test.go index d904d872..9f9bece8 100644 --- a/api/v1alpha1/domain/registry_test.go +++ b/api/v1alpha1/domain/registry_test.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package domain diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index b0eb8eac..ab681ef5 100644 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 // Package v1alpha1 contains API Schema definitions for the capsule.clastix.io v1alpha1 API group // +kubebuilder:object:generate=true diff --git a/api/v1alpha1/ingress_hostnames_list.go b/api/v1alpha1/ingress_hostnames_list.go index 3e442b26..2bd966ab 100644 --- a/api/v1alpha1/ingress_hostnames_list.go +++ b/api/v1alpha1/ingress_hostnames_list.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_annotations.go b/api/v1alpha1/tenant_annotations.go index 5dd8a707..bb3d4877 100644 --- a/api/v1alpha1/tenant_annotations.go +++ b/api/v1alpha1/tenant_annotations.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_func.go b/api/v1alpha1/tenant_func.go index e6e90ad4..1913b5bd 100644 --- a/api/v1alpha1/tenant_func.go +++ b/api/v1alpha1/tenant_func.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_labels.go b/api/v1alpha1/tenant_labels.go index c6417bd0..4e9a6630 100644 --- a/api/v1alpha1/tenant_labels.go +++ b/api/v1alpha1/tenant_labels.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_types.go b/api/v1alpha1/tenant_types.go index f18d6e63..98c78539 100644 --- a/api/v1alpha1/tenant_types.go +++ b/api/v1alpha1/tenant_types.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 6c9987a5..2902c322 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1,20 +1,7 @@ // +build !ignore_autogenerated -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. diff --git a/controllers/config/manager.go b/controllers/config/manager.go index 542a88cf..074e9747 100644 --- a/controllers/config/manager.go +++ b/controllers/config/manager.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package rbac diff --git a/controllers/rbac/const.go b/controllers/rbac/const.go index ccda5d3c..09d71e8b 100644 --- a/controllers/rbac/const.go +++ b/controllers/rbac/const.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package rbac diff --git a/controllers/rbac/manager.go b/controllers/rbac/manager.go index 213de09d..e0b1be14 100644 --- a/controllers/rbac/manager.go +++ b/controllers/rbac/manager.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package rbac diff --git a/controllers/secret/ca.go b/controllers/secret/ca.go index 8a29b823..8b294495 100644 --- a/controllers/secret/ca.go +++ b/controllers/secret/ca.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/controllers/secret/const.go b/controllers/secret/const.go index 35a6b394..6305fe49 100644 --- a/controllers/secret/const.go +++ b/controllers/secret/const.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/controllers/secret/errors.go b/controllers/secret/errors.go index 7bfb58e4..c12fe63d 100644 --- a/controllers/secret/errors.go +++ b/controllers/secret/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/controllers/secret/reconciler.go b/controllers/secret/reconciler.go index 5e568c96..8c9eef99 100644 --- a/controllers/secret/reconciler.go +++ b/controllers/secret/reconciler.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/controllers/secret/tls.go b/controllers/secret/tls.go index e0d5837f..b53a4c90 100644 --- a/controllers/secret/tls.go +++ b/controllers/secret/tls.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package secret diff --git a/controllers/servicelabels/abstract.go b/controllers/servicelabels/abstract.go index 1090db9f..f58d7922 100644 --- a/controllers/servicelabels/abstract.go +++ b/controllers/servicelabels/abstract.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/endpoint.go b/controllers/servicelabels/endpoint.go index 5babab9d..945b3e3b 100644 --- a/controllers/servicelabels/endpoint.go +++ b/controllers/servicelabels/endpoint.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/endpoint_slices.go b/controllers/servicelabels/endpoint_slices.go index f3f0659f..43ebcbe4 100644 --- a/controllers/servicelabels/endpoint_slices.go +++ b/controllers/servicelabels/endpoint_slices.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/errors.go b/controllers/servicelabels/errors.go index 5decf069..292e278a 100644 --- a/controllers/servicelabels/errors.go +++ b/controllers/servicelabels/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/service.go b/controllers/servicelabels/service.go index 7501f61d..390bc290 100644 --- a/controllers/servicelabels/service.go +++ b/controllers/servicelabels/service.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/tenant_controller.go b/controllers/tenant_controller.go index 6d72a80d..82d3210e 100644 --- a/controllers/tenant_controller.go +++ b/controllers/tenant_controller.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package controllers diff --git a/e2e/additional_role_bindings_test.go b/e2e/additional_role_bindings_test.go index d9bf3cd4..aac90af0 100644 --- a/e2e/additional_role_bindings_test.go +++ b/e2e/additional_role_bindings_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/allowed_external_ips_test.go b/e2e/allowed_external_ips_test.go index 70876a15..b00e202d 100644 --- a/e2e/allowed_external_ips_test.go +++ b/e2e/allowed_external_ips_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/container_registry_test.go b/e2e/container_registry_test.go index 93a4e013..b1a0487c 100644 --- a/e2e/container_registry_test.go +++ b/e2e/container_registry_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/custom_capsule_group_test.go b/e2e/custom_capsule_group_test.go index 58308fb9..58061975 100644 --- a/e2e/custom_capsule_group_test.go +++ b/e2e/custom_capsule_group_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/disable_node_ports_test.go b/e2e/disable_node_ports_test.go index c53ab786..346d07ce 100644 --- a/e2e/disable_node_ports_test.go +++ b/e2e/disable_node_ports_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/enable_node_ports_test.go b/e2e/enable_node_ports_test.go index c971a4c3..22e2c44c 100644 --- a/e2e/enable_node_ports_test.go +++ b/e2e/enable_node_ports_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/force_tenant_prefix_test.go b/e2e/force_tenant_prefix_test.go index 0876789b..fca0a5be 100644 --- a/e2e/force_tenant_prefix_test.go +++ b/e2e/force_tenant_prefix_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/ingress_class_test.go b/e2e/ingress_class_test.go index 533ea126..ac4155e4 100644 --- a/e2e/ingress_class_test.go +++ b/e2e/ingress_class_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/ingress_hostnames_allowed_collision_test.go b/e2e/ingress_hostnames_allowed_collision_test.go index dc9fc3c4..67ec7be4 100644 --- a/e2e/ingress_hostnames_allowed_collision_test.go +++ b/e2e/ingress_hostnames_allowed_collision_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/ingress_hostnames_denied_collision_test.go b/e2e/ingress_hostnames_denied_collision_test.go index f72472d6..1926a35b 100644 --- a/e2e/ingress_hostnames_denied_collision_test.go +++ b/e2e/ingress_hostnames_denied_collision_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/ingress_hostnames_test.go b/e2e/ingress_hostnames_test.go index 8f5f668c..6d903b3c 100644 --- a/e2e/ingress_hostnames_test.go +++ b/e2e/ingress_hostnames_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/missing_tenant_test.go b/e2e/missing_tenant_test.go index ac03eb84..7154c0d8 100644 --- a/e2e/missing_tenant_test.go +++ b/e2e/missing_tenant_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/namespace_capsule_label_test.go b/e2e/namespace_capsule_label_test.go index 8e42dcb5..4e864825 100644 --- a/e2e/namespace_capsule_label_test.go +++ b/e2e/namespace_capsule_label_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/namespace_metadata_test.go b/e2e/namespace_metadata_test.go index e581e81d..9d91b499 100644 --- a/e2e/namespace_metadata_test.go +++ b/e2e/namespace_metadata_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/new_namespace_test.go b/e2e/new_namespace_test.go index ebd1edd2..bd54bd8f 100644 --- a/e2e/new_namespace_test.go +++ b/e2e/new_namespace_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/overquota_namespace_test.go b/e2e/overquota_namespace_test.go index d2d83602..5c8d2357 100644 --- a/e2e/overquota_namespace_test.go +++ b/e2e/overquota_namespace_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/owner_webhooks_test.go b/e2e/owner_webhooks_test.go index 0892a585..420f11c5 100644 --- a/e2e/owner_webhooks_test.go +++ b/e2e/owner_webhooks_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/pod_priority_class_test.go b/e2e/pod_priority_class_test.go index 1510becf..1263689f 100644 --- a/e2e/pod_priority_class_test.go +++ b/e2e/pod_priority_class_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/protected_namespace_regex_test.go b/e2e/protected_namespace_regex_test.go index 58aa1cc6..20da49b8 100644 --- a/e2e/protected_namespace_regex_test.go +++ b/e2e/protected_namespace_regex_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/resource_quota_exceeded_test.go b/e2e/resource_quota_exceeded_test.go index 3d6096ac..09f137fd 100644 --- a/e2e/resource_quota_exceeded_test.go +++ b/e2e/resource_quota_exceeded_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/selecting_non_owned_tenant_test.go b/e2e/selecting_non_owned_tenant_test.go index 49a1d462..e584e1e6 100644 --- a/e2e/selecting_non_owned_tenant_test.go +++ b/e2e/selecting_non_owned_tenant_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/selecting_tenant_fail_test.go b/e2e/selecting_tenant_fail_test.go index e9ca49d9..7be7362e 100644 --- a/e2e/selecting_tenant_fail_test.go +++ b/e2e/selecting_tenant_fail_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/selecting_tenant_with_label_test.go b/e2e/selecting_tenant_with_label_test.go index 2124c929..befd040f 100644 --- a/e2e/selecting_tenant_with_label_test.go +++ b/e2e/selecting_tenant_with_label_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/service_metadata_test.go b/e2e/service_metadata_test.go index 096d294a..ed700d30 100644 --- a/e2e/service_metadata_test.go +++ b/e2e/service_metadata_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/storage_class_test.go b/e2e/storage_class_test.go index bd58fe65..9b213dca 100644 --- a/e2e/storage_class_test.go +++ b/e2e/storage_class_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/suite_test.go b/e2e/suite_test.go index 82d92185..5f89a85f 100644 --- a/e2e/suite_test.go +++ b/e2e/suite_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_ingress_hostnames_collision_allowed_test.go b/e2e/tenant_ingress_hostnames_collision_allowed_test.go index 318cc973..ee421f22 100644 --- a/e2e/tenant_ingress_hostnames_collision_allowed_test.go +++ b/e2e/tenant_ingress_hostnames_collision_allowed_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_ingress_hostnames_collision_blocked_test.go b/e2e/tenant_ingress_hostnames_collision_blocked_test.go index b6927646..67ff9d8b 100644 --- a/e2e/tenant_ingress_hostnames_collision_blocked_test.go +++ b/e2e/tenant_ingress_hostnames_collision_blocked_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_name_webhook_test.go b/e2e/tenant_name_webhook_test.go index fbe856de..e59c546c 100644 --- a/e2e/tenant_name_webhook_test.go +++ b/e2e/tenant_name_webhook_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_owner_group_test.go b/e2e/tenant_owner_group_test.go index 208b4dd7..e9e2fd97 100644 --- a/e2e/tenant_owner_group_test.go +++ b/e2e/tenant_owner_group_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_resources_changes_test.go b/e2e/tenant_resources_changes_test.go index 53f03235..d303f740 100644 --- a/e2e/tenant_resources_changes_test.go +++ b/e2e/tenant_resources_changes_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/tenant_resources_test.go b/e2e/tenant_resources_test.go index 4ff567e2..fd4ba344 100644 --- a/e2e/tenant_resources_test.go +++ b/e2e/tenant_resources_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/e2e/utils_test.go b/e2e/utils_test.go index e5062d6f..9a2ddd77 100644 --- a/e2e/utils_test.go +++ b/e2e/utils_test.go @@ -1,20 +1,7 @@ //+build e2e -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package e2e diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 12baadbf..200362af 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,15 +1,2 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ \ No newline at end of file +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 diff --git a/main.go b/main.go index 1c8f2fb3..848bbfa9 100644 --- a/main.go +++ b/main.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package main diff --git a/pkg/cert/ca.go b/pkg/cert/ca.go index cf3398fd..b9abdc56 100644 --- a/pkg/cert/ca.go +++ b/pkg/cert/ca.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/cert/ca_test.go b/pkg/cert/ca_test.go index 669bf37f..b3ff3919 100644 --- a/pkg/cert/ca_test.go +++ b/pkg/cert/ca_test.go @@ -1,3 +1,6 @@ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 + package cert import ( diff --git a/pkg/cert/errors.go b/pkg/cert/errors.go index c46468dd..28630f2c 100644 --- a/pkg/cert/errors.go +++ b/pkg/cert/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/cert/options.go b/pkg/cert/options.go index 56ec5fd3..ed161b84 100644 --- a/pkg/cert/options.go +++ b/pkg/cert/options.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package cert diff --git a/pkg/configuration/client.go b/pkg/configuration/client.go index 4036e3f7..0a5aaf70 100644 --- a/pkg/configuration/client.go +++ b/pkg/configuration/client.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package configuration diff --git a/pkg/configuration/configuration.go b/pkg/configuration/configuration.go index 19716f42..e0dafdd3 100644 --- a/pkg/configuration/configuration.go +++ b/pkg/configuration/configuration.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package configuration diff --git a/pkg/indexer/add_ingress.go b/pkg/indexer/add_ingress.go index c4e37024..4672f3a9 100644 --- a/pkg/indexer/add_ingress.go +++ b/pkg/indexer/add_ingress.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package indexer diff --git a/pkg/indexer/add_namespace.go b/pkg/indexer/add_namespace.go index 1fd6baf4..772fcfff 100644 --- a/pkg/indexer/add_namespace.go +++ b/pkg/indexer/add_namespace.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package indexer diff --git a/pkg/indexer/add_tenant.go b/pkg/indexer/add_tenant.go index 8ef5aadc..a269a016 100644 --- a/pkg/indexer/add_tenant.go +++ b/pkg/indexer/add_tenant.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package indexer diff --git a/pkg/indexer/indexer.go b/pkg/indexer/indexer.go index 26caed75..205c5002 100644 --- a/pkg/indexer/indexer.go +++ b/pkg/indexer/indexer.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package indexer diff --git a/pkg/indexer/ingress/hostname.go b/pkg/indexer/ingress/hostname.go index db6e9db5..299ffd89 100644 --- a/pkg/indexer/ingress/hostname.go +++ b/pkg/indexer/ingress/hostname.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/indexer/namespace/namespaces.go b/pkg/indexer/namespace/namespaces.go index 46a2f6de..988aaf1e 100644 --- a/pkg/indexer/namespace/namespaces.go +++ b/pkg/indexer/namespace/namespaces.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package namespace diff --git a/pkg/indexer/tenant/hostnames.go b/pkg/indexer/tenant/hostnames.go index d09b7a01..54d9fc18 100644 --- a/pkg/indexer/tenant/hostnames.go +++ b/pkg/indexer/tenant/hostnames.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/indexer/tenant/namespaces.go b/pkg/indexer/tenant/namespaces.go index 69b3399f..ba3a5c87 100644 --- a/pkg/indexer/tenant/namespaces.go +++ b/pkg/indexer/tenant/namespaces.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/indexer/tenant/owner.go b/pkg/indexer/tenant/owner.go index d6421747..3f1d873c 100644 --- a/pkg/indexer/tenant/owner.go +++ b/pkg/indexer/tenant/owner.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/utils/owner.go b/pkg/utils/owner.go index cf3e1e0c..b4915c08 100644 --- a/pkg/utils/owner.go +++ b/pkg/utils/owner.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/user_group.go b/pkg/utils/user_group.go index 9fde8600..58c7ea20 100644 --- a/pkg/utils/user_group.go +++ b/pkg/utils/user_group.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/utils/user_group_test.go b/pkg/utils/user_group_test.go index 5a3e5951..afb14209 100644 --- a/pkg/utils/user_group_test.go +++ b/pkg/utils/user_group_test.go @@ -1,3 +1,6 @@ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 + package utils import ( diff --git a/pkg/webhook/handler.go b/pkg/webhook/handler.go index 736160dc..368445e5 100644 --- a/pkg/webhook/handler.go +++ b/pkg/webhook/handler.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/pkg/webhook/ingress/errors.go b/pkg/webhook/ingress/errors.go index 1bbd0ef7..1b5f950b 100644 --- a/pkg/webhook/ingress/errors.go +++ b/pkg/webhook/ingress/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/webhook/ingress/types.go b/pkg/webhook/ingress/types.go index 14fafa43..2879773e 100644 --- a/pkg/webhook/ingress/types.go +++ b/pkg/webhook/ingress/types.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/webhook/ingress/validating.go b/pkg/webhook/ingress/validating.go index 309379af..b1705c85 100644 --- a/pkg/webhook/ingress/validating.go +++ b/pkg/webhook/ingress/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package ingress diff --git a/pkg/webhook/namespacequota/errors.go b/pkg/webhook/namespacequota/errors.go index 9b5abece..801f679a 100644 --- a/pkg/webhook/namespacequota/errors.go +++ b/pkg/webhook/namespacequota/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package namespacequota diff --git a/pkg/webhook/namespacequota/validating.go b/pkg/webhook/namespacequota/validating.go index 5bdd2f11..a05d0663 100644 --- a/pkg/webhook/namespacequota/validating.go +++ b/pkg/webhook/namespacequota/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package namespacequota diff --git a/pkg/webhook/networkpolicies/validating.go b/pkg/webhook/networkpolicies/validating.go index 8e15807f..a59f9150 100644 --- a/pkg/webhook/networkpolicies/validating.go +++ b/pkg/webhook/networkpolicies/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package networkpolicies diff --git a/pkg/webhook/ownerreference/patching.go b/pkg/webhook/ownerreference/patching.go index ed4fde85..0f0800cc 100644 --- a/pkg/webhook/ownerreference/patching.go +++ b/pkg/webhook/ownerreference/patching.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package ownerreference diff --git a/pkg/webhook/podpriority/errors.go b/pkg/webhook/podpriority/errors.go index 9b13931c..b9bd327b 100644 --- a/pkg/webhook/podpriority/errors.go +++ b/pkg/webhook/podpriority/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package podpriority diff --git a/pkg/webhook/podpriority/validating.go b/pkg/webhook/podpriority/validating.go index e3febf3a..9155145c 100644 --- a/pkg/webhook/podpriority/validating.go +++ b/pkg/webhook/podpriority/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package podpriority diff --git a/pkg/webhook/pvc/errors.go b/pkg/webhook/pvc/errors.go index 1480175d..eaa716f0 100644 --- a/pkg/webhook/pvc/errors.go +++ b/pkg/webhook/pvc/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/pkg/webhook/pvc/validating.go b/pkg/webhook/pvc/validating.go index b42621d2..3483eb5d 100644 --- a/pkg/webhook/pvc/validating.go +++ b/pkg/webhook/pvc/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package pvc diff --git a/pkg/webhook/registry/errors.go b/pkg/webhook/registry/errors.go index f1f9cd54..78814ce7 100644 --- a/pkg/webhook/registry/errors.go +++ b/pkg/webhook/registry/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package registry diff --git a/pkg/webhook/registry/validating.go b/pkg/webhook/registry/validating.go index 49b74f20..509be300 100644 --- a/pkg/webhook/registry/validating.go +++ b/pkg/webhook/registry/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package registry diff --git a/pkg/webhook/router.go b/pkg/webhook/router.go index e9b51721..e84a15a2 100644 --- a/pkg/webhook/router.go +++ b/pkg/webhook/router.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/pkg/webhook/services/errors.go b/pkg/webhook/services/errors.go index 41ec5ec3..ac742406 100644 --- a/pkg/webhook/services/errors.go +++ b/pkg/webhook/services/errors.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package services diff --git a/pkg/webhook/services/validating.go b/pkg/webhook/services/validating.go index a70b00c2..3a34b93b 100644 --- a/pkg/webhook/services/validating.go +++ b/pkg/webhook/services/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package services diff --git a/pkg/webhook/tenant/validating.go b/pkg/webhook/tenant/validating.go index 5d29d6ac..12cdab3d 100644 --- a/pkg/webhook/tenant/validating.go +++ b/pkg/webhook/tenant/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/pkg/webhook/tenantprefix/validating.go b/pkg/webhook/tenantprefix/validating.go index b536d81c..f6f9ec99 100644 --- a/pkg/webhook/tenantprefix/validating.go +++ b/pkg/webhook/tenantprefix/validating.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package tenantprefix diff --git a/pkg/webhook/utils/in_capsule_groups.go b/pkg/webhook/utils/in_capsule_groups.go index 8f0ab5ad..9734447f 100644 --- a/pkg/webhook/utils/in_capsule_groups.go +++ b/pkg/webhook/utils/in_capsule_groups.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package utils diff --git a/pkg/webhook/utils/kubernetes_version.go b/pkg/webhook/utils/kubernetes_version.go index 113533e4..2b74b0bf 100644 --- a/pkg/webhook/utils/kubernetes_version.go +++ b/pkg/webhook/utils/kubernetes_version.go @@ -1,3 +1,6 @@ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 + package utils import ( diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go index e5723a51..3c198e22 100644 --- a/pkg/webhook/webhook.go +++ b/pkg/webhook/webhook.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package webhook diff --git a/version.go b/version.go index ea930e3f..b8144fe8 100644 --- a/version.go +++ b/version.go @@ -1,18 +1,5 @@ -/* -Copyright 2020 Clastix Labs. - -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. -*/ +// Copyright 2020-2021 Clastix Labs +// SPDX-License-Identifier: Apache-2.0 package main