From 0cc7727f25afb4b36a201bcb5e605e1057d378e4 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:33:01 -0400 Subject: [PATCH 1/8] replace google/addlicense with palantir/go-license --- Makefile | 30 ++++++++++++++++++++---------- go-license.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 go-license.yml diff --git a/Makefile b/Makefile index ac79b278..09ee3ec3 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ CERT_MANAGER_MANIFEST ?= \ KUSTOMIZE_VERSION ?= 3.8.7 CONTROLLER_TOOLS_VERSION ?= 0.11.1 -ADDLICENSE_VERSION ?= 1.0.0 +GOLICENSE_VERSION ?= 1.29.0 OPM_VERSION ?= 1.23.0 # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION ?= 1.26 @@ -245,10 +245,20 @@ generate: controller-gen # Check and add (if missing) license header LICENSE_FILE = $(shell pwd)/LICENSE GO_PACKAGES := $(shell go list -test -f '{{.Dir}}' ./... | sed -e "s|^$$(pwd)||" | cut -d/ -f2 | sort -u) +.PHONY: check-license +check-license: golicense + @echo "Checking license..." + $(GOLICENSE) --config=go-license.yml --verify $(shell find ${GO_PACKAGES} -name "*.go") + .PHONY: add-license -add-license: addlicense - @echo "Checking/Adding license..." - $(ADDLICENSE) -v -f $(LICENSE_FILE) ${GO_PACKAGES} +add-license: golicense + @echo "Adding license..." + $(GOLICENSE) --config=go-license.yml $(shell find ${GO_PACKAGES} -name "*.go") + +.PHONY: remove-license +remove-license: golicense + @echo "Removing license..." + $(GOLICENSE) --config=go-license.yml --remove $(shell find ${GO_PACKAGES} -name "*.go") # Build the OCI image .PHONY: oci-build @@ -329,12 +339,12 @@ $(KUSTOMIZE): local-bin fi test -s $(KUSTOMIZE) || { curl -Ss $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN); } -# Download addlicense locally if necessary -ADDLICENSE = $(LOCALBIN)/addlicense -.PHONY: addlicense -addlicense: $(ADDLICENSE) -$(ADDLICENSE): local-bin - test -s $(ADDLICENSE) || GOBIN=$(LOCALBIN) go install github.com/google/addlicense@v$(ADDLICENSE_VERSION) +# Download go-license locally if necessary +GOLICENSE = $(LOCALBIN)/go-license +.PHONY: golicense +golicense: $(GOLICENSE) +$(GOLICENSE): local-bin + test -s $(GOLICENSE) || GOBIN=$(LOCALBIN) go install github.com/palantir/go-license@v$(GOLICENSE_VERSION) # Download setup-envtest locally if necessary ENVTEST = $(LOCALBIN)/setup-envtest diff --git a/go-license.yml b/go-license.yml new file mode 100644 index 00000000..c998bd6e --- /dev/null +++ b/go-license.yml @@ -0,0 +1,40 @@ +header: | + // Copyright The Cryostat Authors + // + // The Universal Permissive License (UPL), Version 1.0 + // + // Subject to the condition set forth below, permission is hereby granted to any + // person obtaining a copy of this software, associated documentation and/or data + // (collectively the "Software"), free of charge and under any and all copyright + // rights in the Software, and any and all patent rights owned or freely + // licensable by each licensor hereunder covering either (i) the unmodified + // Software as contributed to or provided by such licensor, or (ii) the Larger + // Works (as defined below), to deal in both + // + // (a) the Software, and + // (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if + // one is included with the Software (each a "Larger Work" to which the Software + // is contributed by such licensors), + // + // without restriction, including without limitation the rights to copy, create + // derivative works of, display, perform, and distribute the Software and make, + // use, sell, offer for sale, import, export, have made, and have sold the + // Software and the Larger Work(s), and to sublicense the foregoing rights on + // either these or other terms. + // + // This license is subject to the following condition: + // The above copyright notice and either this complete permission notice or at + // a minimum a reference to the UPL must be included in all copies or + // substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + // SOFTWARE. + +exclude: + names: + - '.*generated.*' From c79f92cdc97e650afd4e35353625e93a1e6cbcc7 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:34:30 -0400 Subject: [PATCH 2/8] update configs for UPL -> Apache-2.0 --- LICENSE | 236 +++++++++++++++++++++++++++++++++++++++++-------- go-license.yml | 42 +++------ 2 files changed, 211 insertions(+), 67 deletions(-) diff --git a/LICENSE b/LICENSE index e55f9f08..261eeb9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,35 +1,201 @@ -Copyright The Cryostat Authors - -The Universal Permissive License (UPL), Version 1.0 - -Subject to the condition set forth below, permission is hereby granted to any -person obtaining a copy of this software, associated documentation and/or data -(collectively the "Software"), free of charge and under any and all copyright -rights in the Software, and any and all patent rights owned or freely -licensable by each licensor hereunder covering either (i) the unmodified -Software as contributed to or provided by such licensor, or (ii) the Larger -Works (as defined below), to deal in both - -(a) the Software, and -(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -one is included with the Software (each a "Larger Work" to which the Software -is contributed by such licensors), - -without restriction, including without limitation the rights to copy, create -derivative works of, display, perform, and distribute the Software and make, -use, sell, offer for sale, import, export, have made, and have sold the -Software and the Larger Work(s), and to sublicense the foregoing rights on -either these or other terms. - -This license is subject to the following condition: -The above copyright notice and either this complete permission notice or at -a minimum a reference to the UPL must be included in all copies or -substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/go-license.yml b/go-license.yml index c998bd6e..2a9d2d95 100644 --- a/go-license.yml +++ b/go-license.yml @@ -1,39 +1,17 @@ header: | - // Copyright The Cryostat Authors + // Copyright The Cryostat Authors. // - // The Universal Permissive License (UPL), Version 1.0 + // 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 // - // Subject to the condition set forth below, permission is hereby granted to any - // person obtaining a copy of this software, associated documentation and/or data - // (collectively the "Software"), free of charge and under any and all copyright - // rights in the Software, and any and all patent rights owned or freely - // licensable by each licensor hereunder covering either (i) the unmodified - // Software as contributed to or provided by such licensor, or (ii) the Larger - // Works (as defined below), to deal in both + // http://www.apache.org/licenses/LICENSE-2.0 // - // (a) the Software, and - // (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if - // one is included with the Software (each a "Larger Work" to which the Software - // is contributed by such licensors), - // - // without restriction, including without limitation the rights to copy, create - // derivative works of, display, perform, and distribute the Software and make, - // use, sell, offer for sale, import, export, have made, and have sold the - // Software and the Larger Work(s), and to sublicense the foregoing rights on - // either these or other terms. - // - // This license is subject to the following condition: - // The above copyright notice and either this complete permission notice or at - // a minimum a reference to the UPL must be included in all copies or - // substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - // SOFTWARE. + // 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. exclude: names: From a63b471680148c74150d78c8e3738e997118ef14 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:34:47 -0400 Subject: [PATCH 3/8] Revert "update configs for UPL -> Apache-2.0" This reverts commit c79f92cdc97e650afd4e35353625e93a1e6cbcc7. --- LICENSE | 236 ++++++++----------------------------------------- go-license.yml | 42 ++++++--- 2 files changed, 67 insertions(+), 211 deletions(-) diff --git a/LICENSE b/LICENSE index 261eeb9e..e55f9f08 100644 --- a/LICENSE +++ b/LICENSE @@ -1,201 +1,35 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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 The Cryostat Authors + +The Universal Permissive License (UPL), Version 1.0 + +Subject to the condition set forth below, permission is hereby granted to any +person obtaining a copy of this software, associated documentation and/or data +(collectively the "Software"), free of charge and under any and all copyright +rights in the Software, and any and all patent rights owned or freely +licensable by each licensor hereunder covering either (i) the unmodified +Software as contributed to or provided by such licensor, or (ii) the Larger +Works (as defined below), to deal in both + +(a) the Software, and +(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if +one is included with the Software (each a "Larger Work" to which the Software +is contributed by such licensors), + +without restriction, including without limitation the rights to copy, create +derivative works of, display, perform, and distribute the Software and make, +use, sell, offer for sale, import, export, have made, and have sold the +Software and the Larger Work(s), and to sublicense the foregoing rights on +either these or other terms. + +This license is subject to the following condition: +The above copyright notice and either this complete permission notice or at +a minimum a reference to the UPL must be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/go-license.yml b/go-license.yml index 2a9d2d95..c998bd6e 100644 --- a/go-license.yml +++ b/go-license.yml @@ -1,17 +1,39 @@ header: | - // Copyright The Cryostat Authors. + // Copyright The Cryostat Authors // - // Licensed under the Apache License, Version 2.0 (the "License"); - // you may not use this file except in compliance with the License. - // You may obtain a copy of the License at + // The Universal Permissive License (UPL), Version 1.0 // - // http://www.apache.org/licenses/LICENSE-2.0 + // Subject to the condition set forth below, permission is hereby granted to any + // person obtaining a copy of this software, associated documentation and/or data + // (collectively the "Software"), free of charge and under any and all copyright + // rights in the Software, and any and all patent rights owned or freely + // licensable by each licensor hereunder covering either (i) the unmodified + // Software as contributed to or provided by such licensor, or (ii) the Larger + // Works (as defined below), to deal in both // - // 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. + // (a) the Software, and + // (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if + // one is included with the Software (each a "Larger Work" to which the Software + // is contributed by such licensors), + // + // without restriction, including without limitation the rights to copy, create + // derivative works of, display, perform, and distribute the Software and make, + // use, sell, offer for sale, import, export, have made, and have sold the + // Software and the Larger Work(s), and to sublicense the foregoing rights on + // either these or other terms. + // + // This license is subject to the following condition: + // The above copyright notice and either this complete permission notice or at + // a minimum a reference to the UPL must be included in all copies or + // substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + // SOFTWARE. exclude: names: From 2a93a74a23c366b7111d549b9280abb9506277f7 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:35:13 -0400 Subject: [PATCH 4/8] remove UPL headers --- api/v1beta1/clustercryostat_types.go | 36 ------------------- api/v1beta1/cryostat_types.go | 36 ------------------- api/v1beta1/groupversion_info.go | 36 ------------------- internal/controllers/certmanager.go | 36 ------------------- .../controllers/clustercryostat_controller.go | 36 ------------------- .../clustercryostat_controller_test.go | 36 ------------------- internal/controllers/common/common_utils.go | 36 ------------------- .../controllers/common/finalizer_utils.go | 36 ------------------- .../resource_definitions/certificates.go | 36 ------------------- .../resource_definitions.go | 36 ------------------- internal/controllers/common/tls.go | 36 ------------------- internal/controllers/configmaps.go | 36 ------------------- internal/controllers/constants/constants.go | 36 ------------------- internal/controllers/cryostat_controller.go | 36 ------------------- .../controllers/cryostat_controller_test.go | 36 ------------------- internal/controllers/ingresses.go | 36 ------------------- internal/controllers/model/instance.go | 36 ------------------- internal/controllers/openshift.go | 36 ------------------- internal/controllers/pvc.go | 36 ------------------- internal/controllers/rbac.go | 36 ------------------- internal/controllers/reconciler.go | 36 ------------------- internal/controllers/reconciler_test.go | 36 ------------------- internal/controllers/routes.go | 36 ------------------- internal/controllers/secrets.go | 36 ------------------- internal/controllers/services.go | 36 ------------------- internal/controllers/suite_test.go | 36 ------------------- .../images/custom-scorecard-tests/main.go | 36 ------------------- internal/main.go | 36 ------------------- internal/test/clients.go | 36 ------------------- internal/test/reconciler.go | 36 ------------------- internal/test/resources.go | 36 ------------------- internal/test/scorecard/clients.go | 36 ------------------- internal/test/scorecard/openshift.go | 36 ------------------- internal/test/scorecard/tests.go | 36 ------------------- internal/tools/const_generator.go | 36 ------------------- 35 files changed, 1260 deletions(-) diff --git a/api/v1beta1/clustercryostat_types.go b/api/v1beta1/clustercryostat_types.go index 1317f1fb..bff879eb 100644 --- a/api/v1beta1/clustercryostat_types.go +++ b/api/v1beta1/clustercryostat_types.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package v1beta1 import ( diff --git a/api/v1beta1/cryostat_types.go b/api/v1beta1/cryostat_types.go index fe562481..3ec731b5 100644 --- a/api/v1beta1/cryostat_types.go +++ b/api/v1beta1/cryostat_types.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package v1beta1 import ( diff --git a/api/v1beta1/groupversion_info.go b/api/v1beta1/groupversion_info.go index 0b18daf5..95bcf56d 100644 --- a/api/v1beta1/groupversion_info.go +++ b/api/v1beta1/groupversion_info.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - // Package v1beta1 contains API Schema definitions for the operator v1beta1 API group // +kubebuilder:object:generate=true // +groupName=operator.cryostat.io diff --git a/internal/controllers/certmanager.go b/internal/controllers/certmanager.go index 99e8e96f..041470a4 100644 --- a/internal/controllers/certmanager.go +++ b/internal/controllers/certmanager.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/clustercryostat_controller.go b/internal/controllers/clustercryostat_controller.go index 4042e9a9..4098bb53 100644 --- a/internal/controllers/clustercryostat_controller.go +++ b/internal/controllers/clustercryostat_controller.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/clustercryostat_controller_test.go b/internal/controllers/clustercryostat_controller_test.go index b75ff311..64b90e5c 100644 --- a/internal/controllers/clustercryostat_controller_test.go +++ b/internal/controllers/clustercryostat_controller_test.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers_test import ( diff --git a/internal/controllers/common/common_utils.go b/internal/controllers/common/common_utils.go index 13fcc2ae..51b9b259 100644 --- a/internal/controllers/common/common_utils.go +++ b/internal/controllers/common/common_utils.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package common import ( diff --git a/internal/controllers/common/finalizer_utils.go b/internal/controllers/common/finalizer_utils.go index 17ba54de..962d007b 100644 --- a/internal/controllers/common/finalizer_utils.go +++ b/internal/controllers/common/finalizer_utils.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package common import ( diff --git a/internal/controllers/common/resource_definitions/certificates.go b/internal/controllers/common/resource_definitions/certificates.go index 75e778de..8f016c33 100644 --- a/internal/controllers/common/resource_definitions/certificates.go +++ b/internal/controllers/common/resource_definitions/certificates.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package resource_definitions import ( diff --git a/internal/controllers/common/resource_definitions/resource_definitions.go b/internal/controllers/common/resource_definitions/resource_definitions.go index b8ea4846..04f40d9f 100644 --- a/internal/controllers/common/resource_definitions/resource_definitions.go +++ b/internal/controllers/common/resource_definitions/resource_definitions.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package resource_definitions import ( diff --git a/internal/controllers/common/tls.go b/internal/controllers/common/tls.go index 80020623..f78e3feb 100644 --- a/internal/controllers/common/tls.go +++ b/internal/controllers/common/tls.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package common import ( diff --git a/internal/controllers/configmaps.go b/internal/controllers/configmaps.go index a18c418c..707a0af9 100644 --- a/internal/controllers/configmaps.go +++ b/internal/controllers/configmaps.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/constants/constants.go b/internal/controllers/constants/constants.go index 5ffa45d0..a883145b 100644 --- a/internal/controllers/constants/constants.go +++ b/internal/controllers/constants/constants.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package constants import ( diff --git a/internal/controllers/cryostat_controller.go b/internal/controllers/cryostat_controller.go index 8f53decb..b6db52ee 100644 --- a/internal/controllers/cryostat_controller.go +++ b/internal/controllers/cryostat_controller.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/cryostat_controller_test.go b/internal/controllers/cryostat_controller_test.go index 479a1215..160859f8 100644 --- a/internal/controllers/cryostat_controller_test.go +++ b/internal/controllers/cryostat_controller_test.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers_test import ( diff --git a/internal/controllers/ingresses.go b/internal/controllers/ingresses.go index f2376e4b..302239a3 100644 --- a/internal/controllers/ingresses.go +++ b/internal/controllers/ingresses.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/model/instance.go b/internal/controllers/model/instance.go index ec744057..26481865 100644 --- a/internal/controllers/model/instance.go +++ b/internal/controllers/model/instance.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package model import ( diff --git a/internal/controllers/openshift.go b/internal/controllers/openshift.go index 2d963788..55e050c6 100644 --- a/internal/controllers/openshift.go +++ b/internal/controllers/openshift.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/pvc.go b/internal/controllers/pvc.go index 0c4501cb..3542bbac 100644 --- a/internal/controllers/pvc.go +++ b/internal/controllers/pvc.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/rbac.go b/internal/controllers/rbac.go index 083e5c40..6eeb8b08 100644 --- a/internal/controllers/rbac.go +++ b/internal/controllers/rbac.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/reconciler.go b/internal/controllers/reconciler.go index 7fdfcf29..d46e8cff 100644 --- a/internal/controllers/reconciler.go +++ b/internal/controllers/reconciler.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/reconciler_test.go b/internal/controllers/reconciler_test.go index 7ef3e337..73c062df 100644 --- a/internal/controllers/reconciler_test.go +++ b/internal/controllers/reconciler_test.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers_test import ( diff --git a/internal/controllers/routes.go b/internal/controllers/routes.go index fdb666bd..dbd1c041 100644 --- a/internal/controllers/routes.go +++ b/internal/controllers/routes.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/secrets.go b/internal/controllers/secrets.go index b1b5897b..5ab1c887 100644 --- a/internal/controllers/secrets.go +++ b/internal/controllers/secrets.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/services.go b/internal/controllers/services.go index 65a7a650..c349440f 100644 --- a/internal/controllers/services.go +++ b/internal/controllers/services.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers import ( diff --git a/internal/controllers/suite_test.go b/internal/controllers/suite_test.go index 8ec8620e..f09c04f1 100644 --- a/internal/controllers/suite_test.go +++ b/internal/controllers/suite_test.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package controllers_test import ( diff --git a/internal/images/custom-scorecard-tests/main.go b/internal/images/custom-scorecard-tests/main.go index 3c14ed2d..ac02f6f4 100644 --- a/internal/images/custom-scorecard-tests/main.go +++ b/internal/images/custom-scorecard-tests/main.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package main import ( diff --git a/internal/main.go b/internal/main.go index 77f851f4..00db09ee 100644 --- a/internal/main.go +++ b/internal/main.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package main import ( diff --git a/internal/test/clients.go b/internal/test/clients.go index 207e3d3a..7e518218 100644 --- a/internal/test/clients.go +++ b/internal/test/clients.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package test import ( diff --git a/internal/test/reconciler.go b/internal/test/reconciler.go index 9d1ecf11..29966ea5 100644 --- a/internal/test/reconciler.go +++ b/internal/test/reconciler.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package test import ( diff --git a/internal/test/resources.go b/internal/test/resources.go index 8dc74c64..bce7e7e6 100644 --- a/internal/test/resources.go +++ b/internal/test/resources.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package test import ( diff --git a/internal/test/scorecard/clients.go b/internal/test/scorecard/clients.go index 45d273a8..43e4cc1d 100644 --- a/internal/test/scorecard/clients.go +++ b/internal/test/scorecard/clients.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package scorecard import ( diff --git a/internal/test/scorecard/openshift.go b/internal/test/scorecard/openshift.go index e4107a16..630e65cc 100644 --- a/internal/test/scorecard/openshift.go +++ b/internal/test/scorecard/openshift.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package scorecard import ( diff --git a/internal/test/scorecard/tests.go b/internal/test/scorecard/tests.go index 0d97ddd0..44091f9f 100644 --- a/internal/test/scorecard/tests.go +++ b/internal/test/scorecard/tests.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - package scorecard import ( diff --git a/internal/tools/const_generator.go b/internal/tools/const_generator.go index 347170af..7c15c53e 100644 --- a/internal/tools/const_generator.go +++ b/internal/tools/const_generator.go @@ -1,39 +1,3 @@ -// Copyright The Cryostat Authors -// -// The Universal Permissive License (UPL), Version 1.0 -// -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both -// -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - //go:build ignore package main From 7fc610284b3a6b3079345871f870621e9f29cde2 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:35:17 -0400 Subject: [PATCH 5/8] Revert "Revert "update configs for UPL -> Apache-2.0"" This reverts commit a63b471680148c74150d78c8e3738e997118ef14. --- LICENSE | 236 +++++++++++++++++++++++++++++++++++++++++-------- go-license.yml | 42 +++------ 2 files changed, 211 insertions(+), 67 deletions(-) diff --git a/LICENSE b/LICENSE index e55f9f08..261eeb9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,35 +1,201 @@ -Copyright The Cryostat Authors - -The Universal Permissive License (UPL), Version 1.0 - -Subject to the condition set forth below, permission is hereby granted to any -person obtaining a copy of this software, associated documentation and/or data -(collectively the "Software"), free of charge and under any and all copyright -rights in the Software, and any and all patent rights owned or freely -licensable by each licensor hereunder covering either (i) the unmodified -Software as contributed to or provided by such licensor, or (ii) the Larger -Works (as defined below), to deal in both - -(a) the Software, and -(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -one is included with the Software (each a "Larger Work" to which the Software -is contributed by such licensors), - -without restriction, including without limitation the rights to copy, create -derivative works of, display, perform, and distribute the Software and make, -use, sell, offer for sale, import, export, have made, and have sold the -Software and the Larger Work(s), and to sublicense the foregoing rights on -either these or other terms. - -This license is subject to the following condition: -The above copyright notice and either this complete permission notice or at -a minimum a reference to the UPL must be included in all copies or -substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/go-license.yml b/go-license.yml index c998bd6e..2a9d2d95 100644 --- a/go-license.yml +++ b/go-license.yml @@ -1,39 +1,17 @@ header: | - // Copyright The Cryostat Authors + // Copyright The Cryostat Authors. // - // The Universal Permissive License (UPL), Version 1.0 + // 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 // - // Subject to the condition set forth below, permission is hereby granted to any - // person obtaining a copy of this software, associated documentation and/or data - // (collectively the "Software"), free of charge and under any and all copyright - // rights in the Software, and any and all patent rights owned or freely - // licensable by each licensor hereunder covering either (i) the unmodified - // Software as contributed to or provided by such licensor, or (ii) the Larger - // Works (as defined below), to deal in both + // http://www.apache.org/licenses/LICENSE-2.0 // - // (a) the Software, and - // (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if - // one is included with the Software (each a "Larger Work" to which the Software - // is contributed by such licensors), - // - // without restriction, including without limitation the rights to copy, create - // derivative works of, display, perform, and distribute the Software and make, - // use, sell, offer for sale, import, export, have made, and have sold the - // Software and the Larger Work(s), and to sublicense the foregoing rights on - // either these or other terms. - // - // This license is subject to the following condition: - // The above copyright notice and either this complete permission notice or at - // a minimum a reference to the UPL must be included in all copies or - // substantial portions of the Software. - // - // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - // SOFTWARE. + // 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. exclude: names: From 42b7e958133193f021b1060ce377be997bfe4911 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:35:33 -0400 Subject: [PATCH 6/8] add Apache headers --- api/v1beta1/clustercryostat_types.go | 14 ++++++++++++++ api/v1beta1/cryostat_types.go | 14 ++++++++++++++ api/v1beta1/groupversion_info.go | 14 ++++++++++++++ internal/controllers/certmanager.go | 14 ++++++++++++++ internal/controllers/clustercryostat_controller.go | 14 ++++++++++++++ .../controllers/clustercryostat_controller_test.go | 14 ++++++++++++++ internal/controllers/common/common_utils.go | 14 ++++++++++++++ internal/controllers/common/finalizer_utils.go | 14 ++++++++++++++ .../common/resource_definitions/certificates.go | 14 ++++++++++++++ .../resource_definitions/resource_definitions.go | 14 ++++++++++++++ internal/controllers/common/tls.go | 14 ++++++++++++++ internal/controllers/configmaps.go | 14 ++++++++++++++ internal/controllers/constants/constants.go | 14 ++++++++++++++ internal/controllers/cryostat_controller.go | 14 ++++++++++++++ internal/controllers/cryostat_controller_test.go | 14 ++++++++++++++ internal/controllers/ingresses.go | 14 ++++++++++++++ internal/controllers/model/instance.go | 14 ++++++++++++++ internal/controllers/openshift.go | 14 ++++++++++++++ internal/controllers/pvc.go | 14 ++++++++++++++ internal/controllers/rbac.go | 14 ++++++++++++++ internal/controllers/reconciler.go | 14 ++++++++++++++ internal/controllers/reconciler_test.go | 14 ++++++++++++++ internal/controllers/routes.go | 14 ++++++++++++++ internal/controllers/secrets.go | 14 ++++++++++++++ internal/controllers/services.go | 14 ++++++++++++++ internal/controllers/suite_test.go | 14 ++++++++++++++ internal/images/custom-scorecard-tests/main.go | 14 ++++++++++++++ internal/main.go | 14 ++++++++++++++ internal/test/clients.go | 14 ++++++++++++++ internal/test/reconciler.go | 14 ++++++++++++++ internal/test/resources.go | 14 ++++++++++++++ internal/test/scorecard/clients.go | 14 ++++++++++++++ internal/test/scorecard/openshift.go | 14 ++++++++++++++ internal/test/scorecard/tests.go | 14 ++++++++++++++ internal/tools/const_generator.go | 14 ++++++++++++++ 35 files changed, 490 insertions(+) diff --git a/api/v1beta1/clustercryostat_types.go b/api/v1beta1/clustercryostat_types.go index bff879eb..39190d9b 100644 --- a/api/v1beta1/clustercryostat_types.go +++ b/api/v1beta1/clustercryostat_types.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1beta1 import ( diff --git a/api/v1beta1/cryostat_types.go b/api/v1beta1/cryostat_types.go index 3ec731b5..1bdbb34a 100644 --- a/api/v1beta1/cryostat_types.go +++ b/api/v1beta1/cryostat_types.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1beta1 import ( diff --git a/api/v1beta1/groupversion_info.go b/api/v1beta1/groupversion_info.go index 95bcf56d..5e00450e 100644 --- a/api/v1beta1/groupversion_info.go +++ b/api/v1beta1/groupversion_info.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Package v1beta1 contains API Schema definitions for the operator v1beta1 API group // +kubebuilder:object:generate=true // +groupName=operator.cryostat.io diff --git a/internal/controllers/certmanager.go b/internal/controllers/certmanager.go index 041470a4..93bdf044 100644 --- a/internal/controllers/certmanager.go +++ b/internal/controllers/certmanager.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/clustercryostat_controller.go b/internal/controllers/clustercryostat_controller.go index 4098bb53..cdb84e4a 100644 --- a/internal/controllers/clustercryostat_controller.go +++ b/internal/controllers/clustercryostat_controller.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/clustercryostat_controller_test.go b/internal/controllers/clustercryostat_controller_test.go index 64b90e5c..51ef112f 100644 --- a/internal/controllers/clustercryostat_controller_test.go +++ b/internal/controllers/clustercryostat_controller_test.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers_test import ( diff --git a/internal/controllers/common/common_utils.go b/internal/controllers/common/common_utils.go index 51b9b259..3c0cf3ea 100644 --- a/internal/controllers/common/common_utils.go +++ b/internal/controllers/common/common_utils.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package common import ( diff --git a/internal/controllers/common/finalizer_utils.go b/internal/controllers/common/finalizer_utils.go index 962d007b..dc36890f 100644 --- a/internal/controllers/common/finalizer_utils.go +++ b/internal/controllers/common/finalizer_utils.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package common import ( diff --git a/internal/controllers/common/resource_definitions/certificates.go b/internal/controllers/common/resource_definitions/certificates.go index 8f016c33..3d3dd076 100644 --- a/internal/controllers/common/resource_definitions/certificates.go +++ b/internal/controllers/common/resource_definitions/certificates.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package resource_definitions import ( diff --git a/internal/controllers/common/resource_definitions/resource_definitions.go b/internal/controllers/common/resource_definitions/resource_definitions.go index 04f40d9f..1a947033 100644 --- a/internal/controllers/common/resource_definitions/resource_definitions.go +++ b/internal/controllers/common/resource_definitions/resource_definitions.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package resource_definitions import ( diff --git a/internal/controllers/common/tls.go b/internal/controllers/common/tls.go index f78e3feb..793c6217 100644 --- a/internal/controllers/common/tls.go +++ b/internal/controllers/common/tls.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package common import ( diff --git a/internal/controllers/configmaps.go b/internal/controllers/configmaps.go index 707a0af9..73e6c700 100644 --- a/internal/controllers/configmaps.go +++ b/internal/controllers/configmaps.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/constants/constants.go b/internal/controllers/constants/constants.go index a883145b..5a68859b 100644 --- a/internal/controllers/constants/constants.go +++ b/internal/controllers/constants/constants.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package constants import ( diff --git a/internal/controllers/cryostat_controller.go b/internal/controllers/cryostat_controller.go index b6db52ee..ee07fd49 100644 --- a/internal/controllers/cryostat_controller.go +++ b/internal/controllers/cryostat_controller.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/cryostat_controller_test.go b/internal/controllers/cryostat_controller_test.go index 160859f8..e5a910dc 100644 --- a/internal/controllers/cryostat_controller_test.go +++ b/internal/controllers/cryostat_controller_test.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers_test import ( diff --git a/internal/controllers/ingresses.go b/internal/controllers/ingresses.go index 302239a3..a07a7c37 100644 --- a/internal/controllers/ingresses.go +++ b/internal/controllers/ingresses.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/model/instance.go b/internal/controllers/model/instance.go index 26481865..32dce7a6 100644 --- a/internal/controllers/model/instance.go +++ b/internal/controllers/model/instance.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package model import ( diff --git a/internal/controllers/openshift.go b/internal/controllers/openshift.go index 55e050c6..4a01d8e6 100644 --- a/internal/controllers/openshift.go +++ b/internal/controllers/openshift.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/pvc.go b/internal/controllers/pvc.go index 3542bbac..e9758964 100644 --- a/internal/controllers/pvc.go +++ b/internal/controllers/pvc.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/rbac.go b/internal/controllers/rbac.go index 6eeb8b08..4ef4da1b 100644 --- a/internal/controllers/rbac.go +++ b/internal/controllers/rbac.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/reconciler.go b/internal/controllers/reconciler.go index d46e8cff..837db709 100644 --- a/internal/controllers/reconciler.go +++ b/internal/controllers/reconciler.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/reconciler_test.go b/internal/controllers/reconciler_test.go index 73c062df..6eb82f85 100644 --- a/internal/controllers/reconciler_test.go +++ b/internal/controllers/reconciler_test.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers_test import ( diff --git a/internal/controllers/routes.go b/internal/controllers/routes.go index dbd1c041..cc6c2e3f 100644 --- a/internal/controllers/routes.go +++ b/internal/controllers/routes.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/secrets.go b/internal/controllers/secrets.go index 5ab1c887..66ff48c4 100644 --- a/internal/controllers/secrets.go +++ b/internal/controllers/secrets.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/services.go b/internal/controllers/services.go index c349440f..2d134946 100644 --- a/internal/controllers/services.go +++ b/internal/controllers/services.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/internal/controllers/suite_test.go b/internal/controllers/suite_test.go index f09c04f1..36391d97 100644 --- a/internal/controllers/suite_test.go +++ b/internal/controllers/suite_test.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers_test import ( diff --git a/internal/images/custom-scorecard-tests/main.go b/internal/images/custom-scorecard-tests/main.go index ac02f6f4..310ea1ef 100644 --- a/internal/images/custom-scorecard-tests/main.go +++ b/internal/images/custom-scorecard-tests/main.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/internal/main.go b/internal/main.go index 00db09ee..1e014318 100644 --- a/internal/main.go +++ b/internal/main.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package main import ( diff --git a/internal/test/clients.go b/internal/test/clients.go index 7e518218..221a414f 100644 --- a/internal/test/clients.go +++ b/internal/test/clients.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package test import ( diff --git a/internal/test/reconciler.go b/internal/test/reconciler.go index 29966ea5..44428d57 100644 --- a/internal/test/reconciler.go +++ b/internal/test/reconciler.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package test import ( diff --git a/internal/test/resources.go b/internal/test/resources.go index bce7e7e6..4f5145cd 100644 --- a/internal/test/resources.go +++ b/internal/test/resources.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package test import ( diff --git a/internal/test/scorecard/clients.go b/internal/test/scorecard/clients.go index 43e4cc1d..2cf994c3 100644 --- a/internal/test/scorecard/clients.go +++ b/internal/test/scorecard/clients.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package scorecard import ( diff --git a/internal/test/scorecard/openshift.go b/internal/test/scorecard/openshift.go index 630e65cc..dee12c4d 100644 --- a/internal/test/scorecard/openshift.go +++ b/internal/test/scorecard/openshift.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package scorecard import ( diff --git a/internal/test/scorecard/tests.go b/internal/test/scorecard/tests.go index 44091f9f..b2aab776 100644 --- a/internal/test/scorecard/tests.go +++ b/internal/test/scorecard/tests.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package scorecard import ( diff --git a/internal/tools/const_generator.go b/internal/tools/const_generator.go index 7c15c53e..0958c3d9 100644 --- a/internal/tools/const_generator.go +++ b/internal/tools/const_generator.go @@ -1,3 +1,17 @@ +// Copyright The Cryostat Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + //go:build ignore package main From c711d69cb3f35dcd0e9880e0f0c04a2338aa9ed9 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:36:18 -0400 Subject: [PATCH 7/8] manual update of header in generated file --- api/v1beta1/zz_generated.deepcopy.go | 46 +++++++++------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index 53a48eac..aea1e737 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -1,41 +1,23 @@ //go:build !ignore_autogenerated // +build !ignore_autogenerated -// Copyright The Cryostat Authors +// Copyright The Cryostat Authors. // -// The Universal Permissive License (UPL), Version 1.0 +// 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 // -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both +// http://www.apache.org/licenses/LICENSE-2.0 // -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. +// 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. + +// Package v1beta1 contains API Schema definitions for the operator v1beta1 API group +// +kubebuilder:object:generate=true +// +groupName=operator.cryostat.io // Code generated by controller-gen. DO NOT EDIT. From 297708716772f7961161ea6539f43f1857f8a14b Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Tue, 15 Aug 2023 12:39:01 -0400 Subject: [PATCH 8/8] manual update license headers --- hack/boilerplate.go.txt | 42 +++++-------------- .../images/custom-scorecard-tests/Dockerfile | 42 +++++-------------- .../rbac/kustomization.yaml | 42 +++++-------------- .../rbac/scorecard_role.yaml | 42 +++++-------------- .../rbac/scorecard_role_binding.yaml | 42 +++++-------------- .../rbac/scorecard_service_account.yaml | 42 +++++-------------- 6 files changed, 60 insertions(+), 192 deletions(-) diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 4ae4b2e3..d9684829 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,35 +1,13 @@ -// Copyright The Cryostat Authors +// Copyright The Cryostat Authors. // -// The Universal Permissive License (UPL), Version 1.0 +// 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 // -// Subject to the condition set forth below, permission is hereby granted to any -// person obtaining a copy of this software, associated documentation and/or data -// (collectively the "Software"), free of charge and under any and all copyright -// rights in the Software, and any and all patent rights owned or freely -// licensable by each licensor hereunder covering either (i) the unmodified -// Software as contributed to or provided by such licensor, or (ii) the Larger -// Works (as defined below), to deal in both +// http://www.apache.org/licenses/LICENSE-2.0 // -// (a) the Software, and -// (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -// one is included with the Software (each a "Larger Work" to which the Software -// is contributed by such licensors), -// -// without restriction, including without limitation the rights to copy, create -// derivative works of, display, perform, and distribute the Software and make, -// use, sell, offer for sale, import, export, have made, and have sold the -// Software and the Larger Work(s), and to sublicense the foregoing rights on -// either these or other terms. -// -// This license is subject to the following condition: -// The above copyright notice and either this complete permission notice or at -// a minimum a reference to the UPL must be included in all copies or -// substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. +// 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. diff --git a/internal/images/custom-scorecard-tests/Dockerfile b/internal/images/custom-scorecard-tests/Dockerfile index f32ab7df..c0cb4ec3 100644 --- a/internal/images/custom-scorecard-tests/Dockerfile +++ b/internal/images/custom-scorecard-tests/Dockerfile @@ -1,38 +1,16 @@ -# Copyright The Cryostat Authors +# Copyright The Cryostat Authors. # -# The Universal Permissive License (UPL), Version 1.0 +# 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 # -# Subject to the condition set forth below, permission is hereby granted to any -# person obtaining a copy of this software, associated documentation and/or data -# (collectively the "Software"), free of charge and under any and all copyright -# rights in the Software, and any and all patent rights owned or freely -# licensable by each licensor hereunder covering either (i) the unmodified -# Software as contributed to or provided by such licensor, or (ii) the Larger -# Works (as defined below), to deal in both +# http://www.apache.org/licenses/LICENSE-2.0 # -# (a) the Software, and -# (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -# one is included with the Software (each a "Larger Work" to which the Software -# is contributed by such licensors), -# -# without restriction, including without limitation the rights to copy, create -# derivative works of, display, perform, and distribute the Software and make, -# use, sell, offer for sale, import, export, have made, and have sold the -# Software and the Larger Work(s), and to sublicense the foregoing rights on -# either these or other terms. -# -# This license is subject to the following condition: -# The above copyright notice and either this complete permission notice or at -# a minimum a reference to the UPL must be included in all copies or -# substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# 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. # Build the manager binary FROM docker.io/library/golang:1.20 as builder diff --git a/internal/images/custom-scorecard-tests/rbac/kustomization.yaml b/internal/images/custom-scorecard-tests/rbac/kustomization.yaml index 99207d5a..4ff7526a 100644 --- a/internal/images/custom-scorecard-tests/rbac/kustomization.yaml +++ b/internal/images/custom-scorecard-tests/rbac/kustomization.yaml @@ -1,38 +1,16 @@ -# Copyright The Cryostat Authors +# Copyright The Cryostat Authors. # -# The Universal Permissive License (UPL), Version 1.0 +# 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 # -# Subject to the condition set forth below, permission is hereby granted to any -# person obtaining a copy of this software, associated documentation and/or data -# (collectively the "Software"), free of charge and under any and all copyright -# rights in the Software, and any and all patent rights owned or freely -# licensable by each licensor hereunder covering either (i) the unmodified -# Software as contributed to or provided by such licensor, or (ii) the Larger -# Works (as defined below), to deal in both +# http://www.apache.org/licenses/LICENSE-2.0 # -# (a) the Software, and -# (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -# one is included with the Software (each a "Larger Work" to which the Software -# is contributed by such licensors), -# -# without restriction, including without limitation the rights to copy, create -# derivative works of, display, perform, and distribute the Software and make, -# use, sell, offer for sale, import, export, have made, and have sold the -# Software and the Larger Work(s), and to sublicense the foregoing rights on -# either these or other terms. -# -# This license is subject to the following condition: -# The above copyright notice and either this complete permission notice or at -# a minimum a reference to the UPL must be included in all copies or -# substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# 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. apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/internal/images/custom-scorecard-tests/rbac/scorecard_role.yaml b/internal/images/custom-scorecard-tests/rbac/scorecard_role.yaml index f3085309..de76f86d 100644 --- a/internal/images/custom-scorecard-tests/rbac/scorecard_role.yaml +++ b/internal/images/custom-scorecard-tests/rbac/scorecard_role.yaml @@ -1,38 +1,16 @@ -# Copyright The Cryostat Authors +# Copyright The Cryostat Authors. # -# The Universal Permissive License (UPL), Version 1.0 +# 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 # -# Subject to the condition set forth below, permission is hereby granted to any -# person obtaining a copy of this software, associated documentation and/or data -# (collectively the "Software"), free of charge and under any and all copyright -# rights in the Software, and any and all patent rights owned or freely -# licensable by each licensor hereunder covering either (i) the unmodified -# Software as contributed to or provided by such licensor, or (ii) the Larger -# Works (as defined below), to deal in both +# http://www.apache.org/licenses/LICENSE-2.0 # -# (a) the Software, and -# (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -# one is included with the Software (each a "Larger Work" to which the Software -# is contributed by such licensors), -# -# without restriction, including without limitation the rights to copy, create -# derivative works of, display, perform, and distribute the Software and make, -# use, sell, offer for sale, import, export, have made, and have sold the -# Software and the Larger Work(s), and to sublicense the foregoing rights on -# either these or other terms. -# -# This license is subject to the following condition: -# The above copyright notice and either this complete permission notice or at -# a minimum a reference to the UPL must be included in all copies or -# substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# 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. # Permissions for Cryostat custom Scorecard tests apiVersion: rbac.authorization.k8s.io/v1 diff --git a/internal/images/custom-scorecard-tests/rbac/scorecard_role_binding.yaml b/internal/images/custom-scorecard-tests/rbac/scorecard_role_binding.yaml index b8c9ea5f..a300792b 100644 --- a/internal/images/custom-scorecard-tests/rbac/scorecard_role_binding.yaml +++ b/internal/images/custom-scorecard-tests/rbac/scorecard_role_binding.yaml @@ -1,38 +1,16 @@ -# Copyright The Cryostat Authors +# Copyright The Cryostat Authors. # -# The Universal Permissive License (UPL), Version 1.0 +# 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 # -# Subject to the condition set forth below, permission is hereby granted to any -# person obtaining a copy of this software, associated documentation and/or data -# (collectively the "Software"), free of charge and under any and all copyright -# rights in the Software, and any and all patent rights owned or freely -# licensable by each licensor hereunder covering either (i) the unmodified -# Software as contributed to or provided by such licensor, or (ii) the Larger -# Works (as defined below), to deal in both +# http://www.apache.org/licenses/LICENSE-2.0 # -# (a) the Software, and -# (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -# one is included with the Software (each a "Larger Work" to which the Software -# is contributed by such licensors), -# -# without restriction, including without limitation the rights to copy, create -# derivative works of, display, perform, and distribute the Software and make, -# use, sell, offer for sale, import, export, have made, and have sold the -# Software and the Larger Work(s), and to sublicense the foregoing rights on -# either these or other terms. -# -# This license is subject to the following condition: -# The above copyright notice and either this complete permission notice or at -# a minimum a reference to the UPL must be included in all copies or -# substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# 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. kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/internal/images/custom-scorecard-tests/rbac/scorecard_service_account.yaml b/internal/images/custom-scorecard-tests/rbac/scorecard_service_account.yaml index 622a5dbb..13fff836 100644 --- a/internal/images/custom-scorecard-tests/rbac/scorecard_service_account.yaml +++ b/internal/images/custom-scorecard-tests/rbac/scorecard_service_account.yaml @@ -1,38 +1,16 @@ -# Copyright The Cryostat Authors +# Copyright The Cryostat Authors. # -# The Universal Permissive License (UPL), Version 1.0 +# 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 # -# Subject to the condition set forth below, permission is hereby granted to any -# person obtaining a copy of this software, associated documentation and/or data -# (collectively the "Software"), free of charge and under any and all copyright -# rights in the Software, and any and all patent rights owned or freely -# licensable by each licensor hereunder covering either (i) the unmodified -# Software as contributed to or provided by such licensor, or (ii) the Larger -# Works (as defined below), to deal in both +# http://www.apache.org/licenses/LICENSE-2.0 # -# (a) the Software, and -# (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if -# one is included with the Software (each a "Larger Work" to which the Software -# is contributed by such licensors), -# -# without restriction, including without limitation the rights to copy, create -# derivative works of, display, perform, and distribute the Software and make, -# use, sell, offer for sale, import, export, have made, and have sold the -# Software and the Larger Work(s), and to sublicense the foregoing rights on -# either these or other terms. -# -# This license is subject to the following condition: -# The above copyright notice and either this complete permission notice or at -# a minimum a reference to the UPL must be included in all copies or -# substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# 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. kind: ServiceAccount apiVersion: v1