From e25215a49258b4c56eeb4d11037c750be2dcef3b Mon Sep 17 00:00:00 2001 From: Ray Milkey Date: Wed, 16 Mar 2022 15:25:07 -0700 Subject: [PATCH] Enable reuse license check (#627) --- .gitignore | 5 + .reuse/dep5 | 6 + .ssh/id_rsa.enc | Bin 3408 -> 0 bytes CODE_OF_CONDUCT.md | 6 + LICENSE | 201 ------------------ LICENSES/Apache-2.0.txt | 183 ++++++++++++++++ Makefile | 41 ++-- README.md | 6 + build/bin/release | 4 + config-models/stratum-1.x/.helmignore | 4 + config-models/stratum-1.x/Chart.yaml | 6 +- config-models/stratum-1.x/README.md | 6 + config-models/stratum-1.x/files/README.md | 6 + .../stratum-1.x/templates/_helpers.tpl | 4 + .../stratum-1.x/templates/model.yaml | 4 + device-simulator/.helmignore | 4 + device-simulator/Chart.yaml | 6 +- device-simulator/README.md | 6 + device-simulator/files/configs/README.md | 6 + device-simulator/templates/_helpers.tpl | 4 + device-simulator/templates/configmap.yaml | 4 + device-simulator/templates/deployment.yaml | 4 + device-simulator/templates/service.yaml | 4 + device-simulator/values.yaml | 4 + keycloak-389-umbrella/.gitignore | 4 + keycloak-389-umbrella/Chart.yaml | 5 +- keycloak-389-umbrella/README.md | 6 + .../files/keycloak/keycloak-configure.sh | 4 +- keycloak-389-umbrella/templates/_helpers.tpl | 4 + .../templates/configmap.yaml | 4 +- .../templates/post-install-389ds.yaml | 4 +- .../templates/post-install-keycloak.yaml | 4 +- keycloak-389-umbrella/values.yaml | 4 + onos-classic/Chart.yaml | 6 +- onos-classic/requirements.yaml | 4 + onos-classic/templates/_helpers.tpl | 4 + onos-classic/templates/autoscaler.yaml | 4 + onos-classic/templates/configmap-init.yaml | 4 + onos-classic/templates/configmap-logging.yaml | 4 + onos-classic/templates/configmap-probe.yaml | 4 + onos-classic/templates/nodeports.yaml | 4 + .../onos-config-loader-configmap.yaml | 14 +- .../onos-config-loader-permissions.yaml | 14 +- .../templates/onos-config-loader-script.yaml | 14 +- .../templates/onos-config-loader.yaml | 14 +- onos-classic/templates/podsecuritypolicy.yaml | 4 + onos-classic/templates/pspclusterrole.yaml | 4 + onos-classic/templates/psprolebinding.yaml | 4 + onos-classic/templates/service.yaml | 4 + onos-classic/templates/statefulset.yaml | 4 + onos-classic/values.yaml | 4 + onos-cli/.helmignore | 4 + onos-cli/Chart.yaml | 6 +- onos-cli/README.md | 6 + onos-cli/files/certs/README.md | 6 + onos-cli/files/configs/README.md | 6 + onos-cli/templates/_helpers.tpl | 4 + onos-cli/templates/configmap.yaml | 4 + onos-cli/templates/deployment.yaml | 4 + onos-cli/values.yaml | 4 + onos-config/.helmignore | 4 + onos-config/Chart.yaml | 6 +- onos-config/README.md | 6 + onos-config/files/certs/README.md | 6 + .../openpolicyagent/testdevice-1.0.0.rego | 16 +- onos-config/templates/_helpers.tpl | 4 + onos-config/templates/configmap.yaml | 4 + onos-config/templates/deployment.yaml | 4 + onos-config/templates/openpolicyagent.yaml | 4 + onos-config/templates/primitives.yaml | 4 + onos-config/templates/pvc.yaml | 4 + onos-config/templates/role.yaml | 4 + onos-config/templates/rolebinding.yaml | 4 + onos-config/templates/secret.yaml | 4 + onos-config/templates/service.yaml | 4 + onos-config/templates/serviceaccount.yaml | 4 + onos-config/templates/store.yaml | 4 + onos-config/tests/onos-config.go | 16 +- onos-config/values.yaml | 4 + onos-gui/.helmignore | 4 + onos-gui/Chart.yaml | 6 +- onos-gui/README.md | 6 + onos-gui/files/certs/README.md | 6 + onos-gui/templates/_helpers.tpl | 4 + onos-gui/templates/configmap.yaml | 4 + onos-gui/templates/deployment.yaml | 4 + onos-gui/templates/ingress.yaml | 4 + onos-gui/templates/role.yaml | 4 + onos-gui/templates/rolebinding.yaml | 4 + onos-gui/templates/secret.yaml | 4 + onos-gui/templates/service.yaml | 4 + onos-gui/values.yaml | 4 + onos-operator/.helmignore | 4 + onos-operator/Chart.yaml | 6 +- onos-operator/charts/app-operator/Chart.yaml | 6 +- .../app-operator/templates/_helpers.tpl | 4 + .../app-operator/templates/clusterrole.yaml | 4 + .../templates/clusterrolebinding.yaml | 4 + .../app-operator/templates/configmap.yaml | 4 + .../app-operator/templates/deployment.yaml | 4 + .../templates/mutatingwebhook.yaml | 4 + .../charts/app-operator/templates/role.yaml | 4 + .../app-operator/templates/rolebinding.yaml | 4 + .../app-operator/templates/service.yaml | 4 + .../templates/serviceaccount.yaml | 4 + onos-operator/charts/app-operator/values.yaml | 4 + onos-operator/charts/topo-operator/Chart.yaml | 6 +- .../charts/topo-operator/crds/entity.yaml | 4 + .../charts/topo-operator/crds/kind.yaml | 4 + .../charts/topo-operator/crds/relation.yaml | 4 + .../charts/topo-operator/crds/service.yaml | 4 + .../topo-operator/templates/_helpers.tpl | 4 + .../topo-operator/templates/clusterrole.yaml | 4 + .../templates/clusterrolebinding.yaml | 4 + .../topo-operator/templates/configmap.yaml | 4 + .../topo-operator/templates/deployment.yaml | 4 + .../charts/topo-operator/templates/role.yaml | 4 + .../topo-operator/templates/rolebinding.yaml | 4 + .../templates/serviceaccount.yaml | 4 + .../charts/topo-operator/values.yaml | 4 + onos-operator/templates/_helpers.tpl | 4 + onos-operator/values.yaml | 4 + onos-topo/.helmignore | 4 + onos-topo/Chart.yaml | 6 +- onos-topo/README.md | 6 + onos-topo/files/certs/README.md | 6 + onos-topo/templates/_helpers.tpl | 4 + onos-topo/templates/configmap.yaml | 4 + onos-topo/templates/deployment.yaml | 4 + onos-topo/templates/primitives.yaml | 4 + onos-topo/templates/role.yaml | 4 + onos-topo/templates/rolebinding.yaml | 4 + onos-topo/templates/secret.yaml | 4 + onos-topo/templates/service.yaml | 4 + onos-topo/templates/serviceaccount.yaml | 4 + onos-topo/templates/store.yaml | 4 + onos-topo/tests/onos-topo.go | 16 +- onos-topo/values.yaml | 4 + onos-tost/Chart.yaml | 6 +- onos-tost/requirements.yaml | 4 + onos-tost/values.yaml | 4 + onos-umbrella/.gitignore | 4 + onos-umbrella/Chart.yaml | 14 +- onos-umbrella/README.md | 6 + onos-umbrella/files/configs/README.md | 6 + .../configs/berlin-devicesim-1-gnmi.yaml | 4 + .../configs/berlin-devicesim-2-gnmi.yaml | 4 + .../files/configs/berlin-grid-4-topo.yaml | 4 + .../files/opa-rbac/devicesim-1.0.0.rego | 4 +- onos-umbrella/templates/_helpers.tpl | 4 + .../templates/opa-rbac-configmap.yaml | 4 +- onos-umbrella/templates/store.yaml | 4 + onos-umbrella/tests/onos-umbrella.go | 16 +- onos-umbrella/values.yaml | 4 + onos-ztp/.helmignore | 4 + onos-ztp/Chart.yaml | 6 +- onos-ztp/README.md | 6 + onos-ztp/files/certs/README.md | 6 + onos-ztp/templates/_helpers.tpl | 4 + onos-ztp/templates/deployment.yaml | 4 + onos-ztp/templates/secret.yaml | 4 + onos-ztp/templates/service.yaml | 4 + onos-ztp/values.yaml | 4 + stratum-simulator/.helmignore | 4 + stratum-simulator/Chart.yaml | 6 +- stratum-simulator/templates/_helpers.tpl | 4 + stratum-simulator/templates/deployment.yaml | 4 + stratum-simulator/templates/service.yaml | 4 + stratum-simulator/values.yaml | 4 + test/main.go | 16 +- tlaplus-monitor/Chart.yaml | 6 +- tlaplus-monitor/README.md | 6 + tlaplus-monitor/templates/_helpers.tpl | 4 + tlaplus-monitor/templates/configmap.yaml | 4 + tlaplus-monitor/templates/deployment.yaml | 4 + tlaplus-monitor/values.yaml | 4 + 176 files changed, 930 insertions(+), 367 deletions(-) create mode 100644 .reuse/dep5 delete mode 100644 .ssh/id_rsa.enc delete mode 100644 LICENSE create mode 100644 LICENSES/Apache-2.0.txt diff --git a/.gitignore b/.gitignore index b6e93de8..686d87e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + .idea/ build/release build/_output @@ -5,3 +9,4 @@ build/_output staging/ requirements.lock **/charts/* +build/build-tools diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 00000000..7f30963d --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,6 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: VERSION .gitreview go.mod go.sum *.cacrt *.crt *.key *.json *.tree */NOTES.txt *.ldif \\ + config-models/stratum-1.x/files/yang/* 389ds/* influxdb/* dex-ldap-umbrella/* keycloak-389-umbrella/examples/* +Copyright: 2021 Open Networking Foundation +License: Apache-2.0 diff --git a/.ssh/id_rsa.enc b/.ssh/id_rsa.enc deleted file mode 100644 index ced6c2ded27ca170593db3916a0346d9bc9ef1f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3408 zcmV-W4X^ULpb6j?8T^C72#{r*|9A#Dhc(e#G0j{_yPc<#4%Yf?^V@*TlpWwUbA&1m ztTR=WB1a_@c?(qb+X*KetdVG~6vbkfKB%ech&Nq=ryd;vF(r0WvD7&a`~$WSLYgo0 zv|4YNJMdy;crX$|8nOQXkmO7dHKkr@<@K2(g~^voOhSP05_=_`ZH{!n`wPM!*k+=S zP7>6*4<$KQL(3v+>!&{IACi&1ARKamQP5|R$~4--lrimUEMs=uvJH)a)*)FWS}E;% z;b|KXgj^fBl150`nIx6M^!7E|=+&rp*rApBXB=YD zVn8x?5-+M+t7Ay>d+5Z&)IOM;;-#Chp4KXjq zGPH-&{(7~~FVx`t#fsFL6^3rqIg9E>4VnH&QeOVjqP1 z+02V>gFkXj*AGVz>IW=sOM6-+96&n~vauO~XvE2#D19Ew(cw-@hbg>&-v27m$~58U znzXRz>0fQ>(~mV}a@~wY*jE!eeHjrb(c0}Bx&x7 zeL^qYi^*(V84_WSmV5fp50&{Mb`d7P-PaEaA*qkm1Kc0|=RuuF@Xf96Oq6o?*}3I>Tcc`NS=9s=&$`fe^q`olo zMqMajguO2($3V1s@8+xCDT@*H%tW2~or+$oO)qwM-Y={xC4*QS##LHN?{#M~gphr) zXm@@M{DLlpp&F`pJq!nlO&m+gR;#aNcYT1m46ndZddmX#9n-I5R@F=g4b$q1yjZSM zpAW0nId@BaB(84i>wfk#qUi-#(_MS>R}4cW1O_Hy*t2k74%bBswIUwkg}_3s3Grhd zw#LIubC_6ToR!RjXJ^myc>PF-^0ODb*1CWaJO*Ztvp?6V<#H1`e&0eN=T_AwWXPD{ z4E0akH|#XoTV7B@25GH@{%&DTuN5N$$XmW&Gi{N3c?RX}`5Ns_3@C*RkZ1ufUaV;u zR07;)Ao0y!&|}YUcRbsV`r$k<|FueH@0Y#f@RlbAlxFExM~lWi)`)wj0L%MkS!ec) zGrWD7dP<6hX5L@GMZ!97n-Tf3C7M-kY*!+7*Ick&bnd8lDZ_kc6CDk;hdZ{dr~3{F za5fb+!wLm5;8wA+cg&7?4_WR-2!(#)IGnQLc$QyO4up~c#PAu>%r@OueuA*%Amz($ zw%b6}M#eU&8f!U|PuFQNyHt*b0E&wbV4m88L6ch4k@Z?nwU!yP_c+ zglGTv)j1^$csbXGm&Z%LyH5c&-3ri!RInfOfq>Du!>XMSs3ujUANKV!t1j$m_G#4R zZh`+Fx`^L}wGCz3c;$}2-BduS4e{k_P5+rWgfgd2T3`gHV+FBU1!rI?wuH@pDsyka zWm+!5IB(CG`tLP!m%xk(Mg#s7D2slyckk{-0QBKJ%%>h8SwVAw&Qx5?a&C47Id*&2| zbxQ`$9liYheg&9b(f9XmA1^%#d34SMBFqxFVYw6BU#ytZ}e$skb~){KZgI%m(~egxfqZV%qC#?ma;*mR2Y| z4moP!eqdJbPH(I?-5jj*rL<_3D|=l)nSFe8cLpy_7o0-U4b5ljQL2C7>G303v`m2N z0mY88AL^#O>MB5BMdz~XN;Yn{ei0Ffm(?EH)teP>pfF1*%EMzU+n|7nf!qY`rc}W? zLmfvq6VOTyfmKQsF{R?S`E8njGm2zA-%jV^&5h)hC*&9MiS=YDDrpHi)l_uj6wvqY zuAtwPXMPR^&jwuF(bx?lza^jDActy90s;Dcl^Jkru~Q344_H2;bp1j4tx25qzcfJS zoKwurcDl_mUz>?tN$Ax~IP;$14Ml54SaG*F)qtRafGPXq1yJRzPFV&hA)1`zLa-fY zH)ZJnLvzBF586v9Ql01rCSJox6EE1P&u28+d6G)HKkl|N1Kr0m5VV})Zk~WRy>WiuJ3dqm8*yUKn9<0~tC1Uj#>WL;m8()?R)s}x$5+-uN z8^0d$U#UaUGr9BMa0%M~7Db`^Cf)&6LxuV&nIcS2Ifxy()`z2 z2AEF&PxXBk#wHL`uy@h_AwW&Y=HVygI;(=gpp$Z&yAaxvQS7R&mvar{LqT{=mwI`T zO)O+{gv)Hm(2%V)j@%E&;izc)wyQDaKZzUA~fPeplDE@SCMMKN{PMpmKa8~>ccwRg%;#t{TiO{17Ukx zA3yqxVi>6L2T?s|)$_%Jd>NxmDWH4DBB!Z-Juh%0z3hUuu^zikz|8o-i|_gxFwpz~ znS!D^9EXR~!W=F=%y>1nyG6z-0s)*096)xIM_>%IS@4d?L&tJLsibYz-;FlDRxiZCjJ69PRUi&&KT z%5OE-5)(H@yq-y>2qO#^?KAa##LS4?OgnZrfXba4SwjoJ=XG^)P`uM4eSF!4hz9$3 zbe7t$VcsVCN+zlt>pDu8q)KpWUk@o&ze&_q>xOM0>K>);;qdEN!d5&Pv0KBU91fCe z{NX}U0qIuINT~atw}`teh$-4Jc_=}0&;&CF^VeQo&xHo3MCgqS>Xmn9h%)g48@>-p zBxtn9-)5)pm;-fvmj%Um;hm!_u}$W!(T@07_D#*j_6!~YFB^dLVYEKN`R@DHroxBw zoTYnI8O_1k_rboeBbot;)Wd3zo_tZei;2@9$C3DqlnzBT6aw5NA@6~;x + +SPDX-License-Identifier: Apache-2.0 +--> + We expect all ONF employees, member companies, and participants to abide by our [Code of Conduct](https://www.opennetworking.org/wp-content/themes/onf/img/onf-code-of-conduct.pdf). If you are being harassed, notice that someone else is being harassed, or have any other concerns involving someone’s welfare, please notify a member of the ONF team or email [conduct@opennetworking.org](conduct@opennetworking.org). diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9e..00000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - 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/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 00000000..9a4104bb --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,183 @@ +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/Makefile b/Makefile index 5e1f6b15..30fa8ef6 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,15 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + .PHONY: all test clean all: test -jenkins-test: jenkins_version_check deps# @HELP run the jenkins verification tests +build-tools:=$(shell if [ ! -d "./build/build-tools" ]; then cd build && git clone https://github.com/onosproject/build-tools.git; fi) +include ./build/build-tools/make/onf-common.mk + +jenkins-test: jenkins_version_check deps # @HELP run the jenkins verification tests docker pull quay.io/helmpack/chart-testing:v2.4.0 docker run --rm --name ct --volume `pwd`:/charts quay.io/helmpack/chart-testing:v3.0.0-beta.1 sh -c "ct lint --charts charts/onos-config,charts/onos-topo,charts/onos-cli,charts/onos-gui,charts/device-simulator --debug --validate-maintainers=false" @@ -12,36 +19,20 @@ test: version_check deps (kubectl delete ns onos-config || exit 0) && kubectl create ns onos-config && helmit test -n onos-config ./test -c . --suite onos-config (kubectl delete ns onos-umbrella || exit 0) && kubectl create ns onos-umbrella && helmit test -n onos-umbrella ./test -c . --suite onos-umbrella -version_check: build-tools # @HELP run the version checker on the charts - COMPARISON_BRANCH=master ./../build-tools/chart_version_check - -jenkins_version_check: build-tools # @HELP run the version checker on the charts - export COMPARISON_BRANCH=origin/master && export WORKSPACE=`pwd` && ./../build-tools/chart_version_check +version_check: # @HELP run the version checker on the charts + COMPARISON_BRANCH=master ./build/build-tools/chart_version_check -publish: build-tools # @HELP publish version on github - ./../build-tools/publish-version ${VERSION} +jenkins_version_check: # @HELP run the version checker on the charts + export COMPARISON_BRANCH=origin/master && export WORKSPACE=`pwd` && ./build/build-tools/chart_version_check -jenkins-publish: build-tools # @HELP publish version on github +jenkins-publish: # @HELP publish version on github cd .. && GO111MODULE=on go get github.com/mikefarah/yq/v4@v4.16.2 - ./../build-tools/release-chart-merge-commit https://charts.onosproject.org ${WEBSITE_USER} ${WEBSITE_PASSWORD} - -build-tools: # @HELP install the ONOS build tools if needed - @if [ ! -d "../build-tools" ]; then cd .. && git clone https://github.com/onosproject/build-tools.git; fi - -bumponosdeps: build-tools # @HELP update "onosproject" go dependencies and push patch to git. - ./../build-tools/bump-onos-deps ${VERSION} + ./build/build-tools/release-chart-merge-commit https://charts.onosproject.org ${WEBSITE_USER} ${WEBSITE_PASSWORD} -clean: # @HELP clean up temporary files. +clean:: # @HELP clean up temporary files. rm -rf onos-umbrella/charts onos-umbrella/Chart.lock deps: # @HELP build dependencies for local charts. -deps: clean +deps: clean license helm dep build onos-umbrella -help: - @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \ - | sort \ - | awk ' \ - BEGIN {FS = ": *# *@HELP"}; \ - {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \ - ' diff --git a/README.md b/README.md index f26f3f77..e0ee84ce 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # ONOS Helm charts [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/gojp/goreportcard/blob/master/LICENSE) diff --git a/build/bin/release b/build/bin/release index 774571c0..47014bdd 100755 --- a/build/bin/release +++ b/build/bin/release @@ -1,5 +1,9 @@ #!/bin/bash +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + if [ "$#" -lt "1" ]; then echo "must specify chart directory" exit 1 diff --git a/config-models/stratum-1.x/.helmignore b/config-models/stratum-1.x/.helmignore index f0c13194..b6a70de4 100644 --- a/config-models/stratum-1.x/.helmignore +++ b/config-models/stratum-1.x/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/config-models/stratum-1.x/Chart.yaml b/config-models/stratum-1.x/Chart.yaml index 42a24a2c..6c2ffc20 100644 --- a/config-models/stratum-1.x/Chart.yaml +++ b/config-models/stratum-1.x/Chart.yaml @@ -1,6 +1,10 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: config-model-stratum-1-0-0 -version: 1.0.7 +version: 1.0.8 kubeVersion: ">=1.18.0" appVersion: 1.0.0 description: Stratum model diff --git a/config-models/stratum-1.x/README.md b/config-models/stratum-1.x/README.md index 44ce1bda..4824bdf1 100644 --- a/config-models/stratum-1.x/README.md +++ b/config-models/stratum-1.x/README.md @@ -1,3 +1,9 @@ + + # Deprecated This directory contains the old structure of the Stratum configuration models. It has been left here so that it can be retrofited to use the new sidecar config model diff --git a/config-models/stratum-1.x/files/README.md b/config-models/stratum-1.x/files/README.md index 8b4ac836..acd07ec1 100644 --- a/config-models/stratum-1.x/files/README.md +++ b/config-models/stratum-1.x/files/README.md @@ -1,3 +1,9 @@ + + # YANG store All files in this folder should be named in the format **\@\.yang**. diff --git a/config-models/stratum-1.x/templates/_helpers.tpl b/config-models/stratum-1.x/templates/_helpers.tpl index bf05f1d2..227455b1 100644 --- a/config-models/stratum-1.x/templates/_helpers.tpl +++ b/config-models/stratum-1.x/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/config-models/stratum-1.x/templates/model.yaml b/config-models/stratum-1.x/templates/model.yaml index 169a5afe..fbd85a92 100644 --- a/config-models/stratum-1.x/templates/model.yaml +++ b/config-models/stratum-1.x/templates/model.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: config.onosproject.org/v1beta1 kind: Model metadata: diff --git a/device-simulator/.helmignore b/device-simulator/.helmignore index f0c13194..b6a70de4 100644 --- a/device-simulator/.helmignore +++ b/device-simulator/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/device-simulator/Chart.yaml b/device-simulator/Chart.yaml index dc039fa8..d12aab63 100644 --- a/device-simulator/Chart.yaml +++ b/device-simulator/Chart.yaml @@ -1,8 +1,12 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: device-simulator kubeVersion: ">=1.17.0" type: application -version: 0.0.5 +version: 0.0.6 appVersion: v0.6.3 description: ONOS Config Device Simulator keywords: diff --git a/device-simulator/README.md b/device-simulator/README.md index 1b8ef5e8..a2150453 100644 --- a/device-simulator/README.md +++ b/device-simulator/README.md @@ -1,3 +1,9 @@ + + ## ONOS Config Device Simulator Provides a [Helm] chart for deploying µONOS Config device simulator on [Kubernetes]. diff --git a/device-simulator/files/configs/README.md b/device-simulator/files/configs/README.md index b0afe3dd..974d6f6f 100644 --- a/device-simulator/files/configs/README.md +++ b/device-simulator/files/configs/README.md @@ -1,3 +1,9 @@ + + This folder contains test configurations that are loaded into the application via a `ConfigMap` when deploying via this Helm chart. The root test configurations are copied here because Helm does not allow files outside the chart to be accessed diff --git a/device-simulator/templates/_helpers.tpl b/device-simulator/templates/_helpers.tpl index 8a08725f..0fdb3879 100644 --- a/device-simulator/templates/_helpers.tpl +++ b/device-simulator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/device-simulator/templates/configmap.yaml b/device-simulator/templates/configmap.yaml index b1a5c8e5..fd3442b3 100644 --- a/device-simulator/templates/configmap.yaml +++ b/device-simulator/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/device-simulator/templates/deployment.yaml b/device-simulator/templates/deployment.yaml index 1bae60e3..f402bdfd 100644 --- a/device-simulator/templates/deployment.yaml +++ b/device-simulator/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/device-simulator/templates/service.yaml b/device-simulator/templates/service.yaml index f3a9b4ea..e79f7768 100644 --- a/device-simulator/templates/service.yaml +++ b/device-simulator/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/device-simulator/values.yaml b/device-simulator/values.yaml index 3fc08eaa..2e6bb2c1 100644 --- a/device-simulator/values.yaml +++ b/device-simulator/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + nameOverride: "" fullnameOverride: "" diff --git a/keycloak-389-umbrella/.gitignore b/keycloak-389-umbrella/.gitignore index b699e972..47be5b3e 100644 --- a/keycloak-389-umbrella/.gitignore +++ b/keycloak-389-umbrella/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + requirements.lock charts Chart.lock \ No newline at end of file diff --git a/keycloak-389-umbrella/Chart.yaml b/keycloak-389-umbrella/Chart.yaml index b6731077..54925ba5 100644 --- a/keycloak-389-umbrella/Chart.yaml +++ b/keycloak-389-umbrella/Chart.yaml @@ -1,9 +1,12 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 apiVersion: v2 name: keycloak-389-umbrella description: Umbrella chart to deploy Keycloak, 389ds & phpLDAPAdmin kubeVersion: ">=1.15.0" type: application -version: 0.1.4 +version: 0.1.5 appVersion: v0.0.0 keywords: - ldap diff --git a/keycloak-389-umbrella/README.md b/keycloak-389-umbrella/README.md index 709edab9..98527875 100644 --- a/keycloak-389-umbrella/README.md +++ b/keycloak-389-umbrella/README.md @@ -1,3 +1,9 @@ + + # Keycloak-389-Umbrella Helm chart [Keycloak] is Open Source Identity and Access Management for Modern Applications and diff --git a/keycloak-389-umbrella/files/keycloak/keycloak-configure.sh b/keycloak-389-umbrella/files/keycloak/keycloak-configure.sh index 8fa20222..b4cc033e 100755 --- a/keycloak-389-umbrella/files/keycloak/keycloak-configure.sh +++ b/keycloak-389-umbrella/files/keycloak/keycloak-configure.sh @@ -1,7 +1,7 @@ #!/bin/bash -# SPDX-FileCopyrightText: 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 # script to create Keycloak configuration # Usage: diff --git a/keycloak-389-umbrella/templates/_helpers.tpl b/keycloak-389-umbrella/templates/_helpers.tpl index 150927a2..f62ad5c2 100644 --- a/keycloak-389-umbrella/templates/_helpers.tpl +++ b/keycloak-389-umbrella/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/keycloak-389-umbrella/templates/configmap.yaml b/keycloak-389-umbrella/templates/configmap.yaml index 4f71ba21..61dc38fa 100644 --- a/keycloak-389-umbrella/templates/configmap.yaml +++ b/keycloak-389-umbrella/templates/configmap.yaml @@ -1,6 +1,6 @@ -# SPDX-FileCopyrightText: 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 apiVersion: v1 kind: ConfigMap diff --git a/keycloak-389-umbrella/templates/post-install-389ds.yaml b/keycloak-389-umbrella/templates/post-install-389ds.yaml index 9344cef6..7f5e5706 100644 --- a/keycloak-389-umbrella/templates/post-install-389ds.yaml +++ b/keycloak-389-umbrella/templates/post-install-389ds.yaml @@ -1,6 +1,6 @@ -# SPDX-FileCopyrightText: 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 apiVersion: batch/v1 kind: Job metadata: diff --git a/keycloak-389-umbrella/templates/post-install-keycloak.yaml b/keycloak-389-umbrella/templates/post-install-keycloak.yaml index 2b52a5d4..20016f59 100644 --- a/keycloak-389-umbrella/templates/post-install-keycloak.yaml +++ b/keycloak-389-umbrella/templates/post-install-keycloak.yaml @@ -1,6 +1,6 @@ -# SPDX-FileCopyrightText: 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 apiVersion: batch/v1 kind: Job metadata: diff --git a/keycloak-389-umbrella/values.yaml b/keycloak-389-umbrella/values.yaml index 4b7ec2b3..6c1eead0 100644 --- a/keycloak-389-umbrella/values.yaml +++ b/keycloak-389-umbrella/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for all µONOS Helm charts. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-classic/Chart.yaml b/onos-classic/Chart.yaml index 5a5d3c3e..de7ded0a 100644 --- a/onos-classic/Chart.yaml +++ b/onos-classic/Chart.yaml @@ -1,7 +1,11 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- apiVersion: v1 name: onos-classic -version: 0.1.29 +version: 0.1.30 kubeVersion: ">=1.10.0" appVersion: 2.5.7-rc1 description: ONOS cluster diff --git a/onos-classic/requirements.yaml b/onos-classic/requirements.yaml index fc6edbd1..4204f8e2 100644 --- a/onos-classic/requirements.yaml +++ b/onos-classic/requirements.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- dependencies: - name: atomix diff --git a/onos-classic/templates/_helpers.tpl b/onos-classic/templates/_helpers.tpl index 260a9a1f..77611bd2 100644 --- a/onos-classic/templates/_helpers.tpl +++ b/onos-classic/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-classic/templates/autoscaler.yaml b/onos-classic/templates/autoscaler.yaml index c0c70e85..09626140 100644 --- a/onos-classic/templates/autoscaler.yaml +++ b/onos-classic/templates/autoscaler.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 diff --git a/onos-classic/templates/configmap-init.yaml b/onos-classic/templates/configmap-init.yaml index 35ced5c0..e044ecb2 100644 --- a/onos-classic/templates/configmap-init.yaml +++ b/onos-classic/templates/configmap-init.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- apiVersion: v1 kind: ConfigMap diff --git a/onos-classic/templates/configmap-logging.yaml b/onos-classic/templates/configmap-logging.yaml index 503bf84f..5e28bb65 100644 --- a/onos-classic/templates/configmap-logging.yaml +++ b/onos-classic/templates/configmap-logging.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.logging }} apiVersion: v1 kind: ConfigMap diff --git a/onos-classic/templates/configmap-probe.yaml b/onos-classic/templates/configmap-probe.yaml index 6141ea0d..42861b39 100644 --- a/onos-classic/templates/configmap-probe.yaml +++ b/onos-classic/templates/configmap-probe.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- apiVersion: v1 kind: ConfigMap diff --git a/onos-classic/templates/nodeports.yaml b/onos-classic/templates/nodeports.yaml index 2e023d91..b5eff1ce 100644 --- a/onos-classic/templates/nodeports.yaml +++ b/onos-classic/templates/nodeports.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- {{- if .Values.onosApiPort }} apiVersion: v1 diff --git a/onos-classic/templates/onos-config-loader-configmap.yaml b/onos-classic/templates/onos-config-loader-configmap.yaml index 0e976eb1..e8d19c7e 100644 --- a/onos-classic/templates/onos-config-loader-configmap.yaml +++ b/onos-classic/templates/onos-config-loader-configmap.yaml @@ -1,16 +1,8 @@ # Copyright 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 + {{ if or .Values.config.netcfg .Values.config.componentConfig }} --- apiVersion: v1 diff --git a/onos-classic/templates/onos-config-loader-permissions.yaml b/onos-classic/templates/onos-config-loader-permissions.yaml index 1af9b44e..644bff09 100644 --- a/onos-classic/templates/onos-config-loader-permissions.yaml +++ b/onos-classic/templates/onos-config-loader-permissions.yaml @@ -1,16 +1,8 @@ # Copyright 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 + {{ if or .Values.config.netcfg .Values.config.componentConfig }} --- apiVersion: v1 diff --git a/onos-classic/templates/onos-config-loader-script.yaml b/onos-classic/templates/onos-config-loader-script.yaml index 7cc308b9..dbdbb949 100644 --- a/onos-classic/templates/onos-config-loader-script.yaml +++ b/onos-classic/templates/onos-config-loader-script.yaml @@ -1,16 +1,8 @@ # Copyright 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 + {{ if or .Values.config.netcfg .Values.config.componentConfig }} --- apiVersion: v1 diff --git a/onos-classic/templates/onos-config-loader.yaml b/onos-classic/templates/onos-config-loader.yaml index 5a56526e..06adf7bc 100644 --- a/onos-classic/templates/onos-config-loader.yaml +++ b/onos-classic/templates/onos-config-loader.yaml @@ -1,16 +1,8 @@ # Copyright 2021-present Open Networking Foundation +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 + {{ if or .Values.config.netcfg .Values.config.componentConfig }} --- apiVersion: apps/v1 diff --git a/onos-classic/templates/podsecuritypolicy.yaml b/onos-classic/templates/podsecuritypolicy.yaml index 0ca7119a..ced07bce 100644 --- a/onos-classic/templates/podsecuritypolicy.yaml +++ b/onos-classic/templates/podsecuritypolicy.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.podsecuritypolicy.enabled }} apiVersion: policy/v1beta1 kind: PodSecurityPolicy diff --git a/onos-classic/templates/pspclusterrole.yaml b/onos-classic/templates/pspclusterrole.yaml index 78b2f16c..5bed1596 100644 --- a/onos-classic/templates/pspclusterrole.yaml +++ b/onos-classic/templates/pspclusterrole.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.podsecuritypolicy.enabled }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/onos-classic/templates/psprolebinding.yaml b/onos-classic/templates/psprolebinding.yaml index a9b6bf63..53be5c84 100644 --- a/onos-classic/templates/psprolebinding.yaml +++ b/onos-classic/templates/psprolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.podsecuritypolicy.enabled }} apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/onos-classic/templates/service.yaml b/onos-classic/templates/service.yaml index e5026a95..67c7fdd5 100644 --- a/onos-classic/templates/service.yaml +++ b/onos-classic/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- apiVersion: v1 kind: Service diff --git a/onos-classic/templates/statefulset.yaml b/onos-classic/templates/statefulset.yaml index 24caac11..5f0cb2fc 100644 --- a/onos-classic/templates/statefulset.yaml +++ b/onos-classic/templates/statefulset.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # This template provides a StatefulSet for ONOS nodes. # The StatefulSet is used to ensure that nodes are assigned a persistent identity. # The StatefulSet must be used with a headless service to ensure pods can communicate with each other through diff --git a/onos-classic/values.yaml b/onos-classic/values.yaml index dc1cbc14..2b205235 100644 --- a/onos-classic/values.yaml +++ b/onos-classic/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- nameOverride: "" diff --git a/onos-cli/.helmignore b/onos-cli/.helmignore index 50af0317..9f71ac3e 100644 --- a/onos-cli/.helmignore +++ b/onos-cli/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-cli/Chart.yaml b/onos-cli/Chart.yaml index 26930062..3fd9a49d 100644 --- a/onos-cli/Chart.yaml +++ b/onos-cli/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-cli description: ONOS Command Line Interface kubeVersion: ">=1.17.0" type: application -version: 1.3.1 +version: 1.3.2 appVersion: v0.9.11 keywords: - onos diff --git a/onos-cli/README.md b/onos-cli/README.md index 59c4676a..ef981a29 100644 --- a/onos-cli/README.md +++ b/onos-cli/README.md @@ -1,3 +1,9 @@ + + ## ONOS CLI Provides a [Helm] chart for deploying µONOS CLI on [Kubernetes]. diff --git a/onos-cli/files/certs/README.md b/onos-cli/files/certs/README.md index ee87cfb5..760fe8d2 100644 --- a/onos-cli/files/certs/README.md +++ b/onos-cli/files/certs/README.md @@ -1,3 +1,9 @@ + + This folder contains self-signed certificates for use in testing. _DO NOT USE THESE CERTIFICATES IN PRODUCTION!_ diff --git a/onos-cli/files/configs/README.md b/onos-cli/files/configs/README.md index 1eaf3795..d9e55ae8 100644 --- a/onos-cli/files/configs/README.md +++ b/onos-cli/files/configs/README.md @@ -1,3 +1,9 @@ + + # Config files Available in /home/onos at runtime. Needed diff --git a/onos-cli/templates/_helpers.tpl b/onos-cli/templates/_helpers.tpl index b80eb35b..b59c19b1 100644 --- a/onos-cli/templates/_helpers.tpl +++ b/onos-cli/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-cli/templates/configmap.yaml b/onos-cli/templates/configmap.yaml index f0d111d7..35534f70 100644 --- a/onos-cli/templates/configmap.yaml +++ b/onos-cli/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-cli/templates/deployment.yaml b/onos-cli/templates/deployment.yaml index 1dc64cc0..0f15afec 100644 --- a/onos-cli/templates/deployment.yaml +++ b/onos-cli/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/onos-cli/values.yaml b/onos-cli/values.yaml index 9a887e82..d95ddc87 100644 --- a/onos-cli/values.yaml +++ b/onos-cli/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for onos-cli. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-config/.helmignore b/onos-config/.helmignore index f0c13194..b6a70de4 100644 --- a/onos-config/.helmignore +++ b/onos-config/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-config/Chart.yaml b/onos-config/Chart.yaml index 00b1dede..90007841 100644 --- a/onos-config/Chart.yaml +++ b/onos-config/Chart.yaml @@ -1,6 +1,10 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-config -version: 1.7.1 +version: 1.7.2 kubeVersion: ">=1.17.0" appVersion: v0.10.28 description: ONOS Config Manager diff --git a/onos-config/README.md b/onos-config/README.md index aaf05d7b..2734c414 100644 --- a/onos-config/README.md +++ b/onos-config/README.md @@ -1,3 +1,9 @@ + + ## ONOS Config Helm Chart Provides a [Helm] chart for deploying µONOS Config on [Kubernetes]. See the diff --git a/onos-config/files/certs/README.md b/onos-config/files/certs/README.md index ee87cfb5..760fe8d2 100644 --- a/onos-config/files/certs/README.md +++ b/onos-config/files/certs/README.md @@ -1,3 +1,9 @@ + + This folder contains self-signed certificates for use in testing. _DO NOT USE THESE CERTIFICATES IN PRODUCTION!_ diff --git a/onos-config/files/openpolicyagent/testdevice-1.0.0.rego b/onos-config/files/openpolicyagent/testdevice-1.0.0.rego index 850a35f8..ed5536e0 100644 --- a/onos-config/files/openpolicyagent/testdevice-1.0.0.rego +++ b/onos-config/files/openpolicyagent/testdevice-1.0.0.rego @@ -1,16 +1,6 @@ -# Copyright 2021-present Open Networking Foundation. -#// -# 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 +# SPDX-FileCopyrightText: 2020 Open Networking Foundation # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 package testdevice_1_0_0 @@ -71,4 +61,4 @@ list4s[list4] { list5s[list5] { list5 := input.cont1a.list5[_] -} \ No newline at end of file +} diff --git a/onos-config/templates/_helpers.tpl b/onos-config/templates/_helpers.tpl index 5585db26..f54933e5 100644 --- a/onos-config/templates/_helpers.tpl +++ b/onos-config/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-config/templates/configmap.yaml b/onos-config/templates/configmap.yaml index f2f30c94..6e3962ba 100644 --- a/onos-config/templates/configmap.yaml +++ b/onos-config/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-config/templates/deployment.yaml b/onos-config/templates/deployment.yaml index 4e21c17f..91eb2e5c 100644 --- a/onos-config/templates/deployment.yaml +++ b/onos-config/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/onos-config/templates/openpolicyagent.yaml b/onos-config/templates/openpolicyagent.yaml index 7534e79a..f1e2016b 100644 --- a/onos-config/templates/openpolicyagent.yaml +++ b/onos-config/templates/openpolicyagent.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{ if .Values.openpolicyagent.enabled }} apiVersion: v1 kind: ConfigMap diff --git a/onos-config/templates/primitives.yaml b/onos-config/templates/primitives.yaml index 7c1ce651..9a89f1a6 100644 --- a/onos-config/templates/primitives.yaml +++ b/onos-config/templates/primitives.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: primitives.atomix.io/v2beta1 kind: Election metadata: diff --git a/onos-config/templates/pvc.yaml b/onos-config/templates/pvc.yaml index 678c078c..fa2ea07b 100644 --- a/onos-config/templates/pvc.yaml +++ b/onos-config/templates/pvc.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.plugin.cache.enabled }} apiVersion: v1 kind: PersistentVolumeClaim diff --git a/onos-config/templates/role.yaml b/onos-config/templates/role.yaml index 475fca3a..967c7043 100644 --- a/onos-config/templates/role.yaml +++ b/onos-config/templates/role.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: diff --git a/onos-config/templates/rolebinding.yaml b/onos-config/templates/rolebinding.yaml index cf770cfd..4727367e 100644 --- a/onos-config/templates/rolebinding.yaml +++ b/onos-config/templates/rolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/onos-config/templates/secret.yaml b/onos-config/templates/secret.yaml index c27fb27d..46db8b28 100644 --- a/onos-config/templates/secret.yaml +++ b/onos-config/templates/secret.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Secret metadata: diff --git a/onos-config/templates/service.yaml b/onos-config/templates/service.yaml index a10aadea..17697fed 100644 --- a/onos-config/templates/service.yaml +++ b/onos-config/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/onos-config/templates/serviceaccount.yaml b/onos-config/templates/serviceaccount.yaml index 03402af3..1becced6 100644 --- a/onos-config/templates/serviceaccount.yaml +++ b/onos-config/templates/serviceaccount.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/onos-config/templates/store.yaml b/onos-config/templates/store.yaml index 7662044a..4338ba6a 100644 --- a/onos-config/templates/store.yaml +++ b/onos-config/templates/store.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.store.consensus.enabled }} apiVersion: atomix.io/v2beta1 kind: Store diff --git a/onos-config/tests/onos-config.go b/onos-config/tests/onos-config.go index 8dac8837..5e1c4249 100644 --- a/onos-config/tests/onos-config.go +++ b/onos-config/tests/onos-config.go @@ -1,16 +1,6 @@ -// Copyright 2020-present Open Networking Foundation. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +# SPDX-FileCopyrightText: 2020 Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 package tests diff --git a/onos-config/values.yaml b/onos-config/values.yaml index 5f5121ea..34b09f35 100644 --- a/onos-config/values.yaml +++ b/onos-config/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for onos-config. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-gui/.helmignore b/onos-gui/.helmignore index 50af0317..9f71ac3e 100644 --- a/onos-gui/.helmignore +++ b/onos-gui/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-gui/Chart.yaml b/onos-gui/Chart.yaml index 61980114..f016d811 100644 --- a/onos-gui/Chart.yaml +++ b/onos-gui/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-gui description: ONOS Graphical User Interface kubeVersion: ">=1.15.0" type: application -version: 1.0.8 +version: 1.0.9 appVersion: v0.7.2 keywords: - onos diff --git a/onos-gui/README.md b/onos-gui/README.md index 589d432c..cba99575 100644 --- a/onos-gui/README.md +++ b/onos-gui/README.md @@ -1,3 +1,9 @@ + + ## ONOS GUI Helm Chart Provides a [Helm] chart for deploying µONOS GUI on [Kubernetes]. See the diff --git a/onos-gui/files/certs/README.md b/onos-gui/files/certs/README.md index ee87cfb5..760fe8d2 100644 --- a/onos-gui/files/certs/README.md +++ b/onos-gui/files/certs/README.md @@ -1,3 +1,9 @@ + + This folder contains self-signed certificates for use in testing. _DO NOT USE THESE CERTIFICATES IN PRODUCTION!_ diff --git a/onos-gui/templates/_helpers.tpl b/onos-gui/templates/_helpers.tpl index 0d75875e..6d4ddb9a 100644 --- a/onos-gui/templates/_helpers.tpl +++ b/onos-gui/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-gui/templates/configmap.yaml b/onos-gui/templates/configmap.yaml index f829ad7d..78c0c60b 100644 --- a/onos-gui/templates/configmap.yaml +++ b/onos-gui/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-gui/templates/deployment.yaml b/onos-gui/templates/deployment.yaml index 061ff826..75322133 100644 --- a/onos-gui/templates/deployment.yaml +++ b/onos-gui/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/onos-gui/templates/ingress.yaml b/onos-gui/templates/ingress.yaml index 95576316..109c883a 100644 --- a/onos-gui/templates/ingress.yaml +++ b/onos-gui/templates/ingress.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.ingress.enabled }} apiVersion: networking.k8s.io/v1 kind: Ingress diff --git a/onos-gui/templates/role.yaml b/onos-gui/templates/role.yaml index f2964fd3..9a23515f 100644 --- a/onos-gui/templates/role.yaml +++ b/onos-gui/templates/role.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/onos-gui/templates/rolebinding.yaml b/onos-gui/templates/rolebinding.yaml index 4adc54c1..b672c69d 100644 --- a/onos-gui/templates/rolebinding.yaml +++ b/onos-gui/templates/rolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/onos-gui/templates/secret.yaml b/onos-gui/templates/secret.yaml index 8eaec8ae..7754a2bf 100644 --- a/onos-gui/templates/secret.yaml +++ b/onos-gui/templates/secret.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Secret metadata: diff --git a/onos-gui/templates/service.yaml b/onos-gui/templates/service.yaml index b169e943..edfd1555 100644 --- a/onos-gui/templates/service.yaml +++ b/onos-gui/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/onos-gui/values.yaml b/onos-gui/values.yaml index c2eb9eca..e876974e 100644 --- a/onos-gui/values.yaml +++ b/onos-gui/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for onos-gui. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-operator/.helmignore b/onos-operator/.helmignore index f0c13194..b6a70de4 100644 --- a/onos-operator/.helmignore +++ b/onos-operator/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-operator/Chart.yaml b/onos-operator/Chart.yaml index ec3e09fc..8d900edb 100644 --- a/onos-operator/Chart.yaml +++ b/onos-operator/Chart.yaml @@ -1,6 +1,10 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-operator -version: 0.5.2 +version: 0.5.3 kubeVersion: ">=1.17.0" appVersion: v0.5.0 description: µONOS Operator diff --git a/onos-operator/charts/app-operator/Chart.yaml b/onos-operator/charts/app-operator/Chart.yaml index 56342c89..393bd4be 100644 --- a/onos-operator/charts/app-operator/Chart.yaml +++ b/onos-operator/charts/app-operator/Chart.yaml @@ -1,6 +1,10 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: app-operator -version: 0.5.2 +version: 0.5.3 kubeVersion: ">=1.17.0" appVersion: v0.5.0 description: µONOS App Operator diff --git a/onos-operator/charts/app-operator/templates/_helpers.tpl b/onos-operator/charts/app-operator/templates/_helpers.tpl index 9b098bf8..806df09f 100644 --- a/onos-operator/charts/app-operator/templates/_helpers.tpl +++ b/onos-operator/charts/app-operator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-operator/charts/app-operator/templates/clusterrole.yaml b/onos-operator/charts/app-operator/templates/clusterrole.yaml index aaa7215a..2219fce9 100644 --- a/onos-operator/charts/app-operator/templates/clusterrole.yaml +++ b/onos-operator/charts/app-operator/templates/clusterrole.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/onos-operator/charts/app-operator/templates/clusterrolebinding.yaml b/onos-operator/charts/app-operator/templates/clusterrolebinding.yaml index 28bf2b77..c8cadf61 100644 --- a/onos-operator/charts/app-operator/templates/clusterrolebinding.yaml +++ b/onos-operator/charts/app-operator/templates/clusterrolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/onos-operator/charts/app-operator/templates/configmap.yaml b/onos-operator/charts/app-operator/templates/configmap.yaml index 95b0078d..0b46cda2 100644 --- a/onos-operator/charts/app-operator/templates/configmap.yaml +++ b/onos-operator/charts/app-operator/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-operator/charts/app-operator/templates/deployment.yaml b/onos-operator/charts/app-operator/templates/deployment.yaml index 9ada7b8f..45b83bde 100644 --- a/onos-operator/charts/app-operator/templates/deployment.yaml +++ b/onos-operator/charts/app-operator/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "app-operator.scope" . }} apiVersion: apps/v1 kind: Deployment diff --git a/onos-operator/charts/app-operator/templates/mutatingwebhook.yaml b/onos-operator/charts/app-operator/templates/mutatingwebhook.yaml index 85c8d29b..c93fe557 100644 --- a/onos-operator/charts/app-operator/templates/mutatingwebhook.yaml +++ b/onos-operator/charts/app-operator/templates/mutatingwebhook.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: diff --git a/onos-operator/charts/app-operator/templates/role.yaml b/onos-operator/charts/app-operator/templates/role.yaml index 8cb67874..a91359b4 100644 --- a/onos-operator/charts/app-operator/templates/role.yaml +++ b/onos-operator/charts/app-operator/templates/role.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "app-operator.scope" . }} {{- if eq $scope "namespace" }} apiVersion: rbac.authorization.k8s.io/v1 diff --git a/onos-operator/charts/app-operator/templates/rolebinding.yaml b/onos-operator/charts/app-operator/templates/rolebinding.yaml index 03ba1625..881c054e 100644 --- a/onos-operator/charts/app-operator/templates/rolebinding.yaml +++ b/onos-operator/charts/app-operator/templates/rolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "app-operator.scope" . }} {{- if eq $scope "namespace" }} kind: RoleBinding diff --git a/onos-operator/charts/app-operator/templates/service.yaml b/onos-operator/charts/app-operator/templates/service.yaml index 15f06f1a..fff83973 100644 --- a/onos-operator/charts/app-operator/templates/service.yaml +++ b/onos-operator/charts/app-operator/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/onos-operator/charts/app-operator/templates/serviceaccount.yaml b/onos-operator/charts/app-operator/templates/serviceaccount.yaml index 91f878d7..c6270865 100644 --- a/onos-operator/charts/app-operator/templates/serviceaccount.yaml +++ b/onos-operator/charts/app-operator/templates/serviceaccount.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/onos-operator/charts/app-operator/values.yaml b/onos-operator/charts/app-operator/values.yaml index a8104899..043846c3 100644 --- a/onos-operator/charts/app-operator/values.yaml +++ b/onos-operator/charts/app-operator/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + nameOverride: "" fullnameOverride: "" diff --git a/onos-operator/charts/topo-operator/Chart.yaml b/onos-operator/charts/topo-operator/Chart.yaml index 80b75cfb..99e92277 100644 --- a/onos-operator/charts/topo-operator/Chart.yaml +++ b/onos-operator/charts/topo-operator/Chart.yaml @@ -1,6 +1,10 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: topo-operator -version: 0.5.1 +version: 0.5.2 kubeVersion: ">=1.17.0" appVersion: v0.5.0 description: µONOS Topology Operator diff --git a/onos-operator/charts/topo-operator/crds/entity.yaml b/onos-operator/charts/topo-operator/crds/entity.yaml index eb2644e5..d4f3aecf 100644 --- a/onos-operator/charts/topo-operator/crds/entity.yaml +++ b/onos-operator/charts/topo-operator/crds/entity.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/onos-operator/charts/topo-operator/crds/kind.yaml b/onos-operator/charts/topo-operator/crds/kind.yaml index c98581b3..b1b6edfb 100644 --- a/onos-operator/charts/topo-operator/crds/kind.yaml +++ b/onos-operator/charts/topo-operator/crds/kind.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/onos-operator/charts/topo-operator/crds/relation.yaml b/onos-operator/charts/topo-operator/crds/relation.yaml index a5a3de25..f58ec864 100644 --- a/onos-operator/charts/topo-operator/crds/relation.yaml +++ b/onos-operator/charts/topo-operator/crds/relation.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/onos-operator/charts/topo-operator/crds/service.yaml b/onos-operator/charts/topo-operator/crds/service.yaml index 9f5790b3..af18942d 100644 --- a/onos-operator/charts/topo-operator/crds/service.yaml +++ b/onos-operator/charts/topo-operator/crds/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/onos-operator/charts/topo-operator/templates/_helpers.tpl b/onos-operator/charts/topo-operator/templates/_helpers.tpl index de29c384..0e2397c6 100644 --- a/onos-operator/charts/topo-operator/templates/_helpers.tpl +++ b/onos-operator/charts/topo-operator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-operator/charts/topo-operator/templates/clusterrole.yaml b/onos-operator/charts/topo-operator/templates/clusterrole.yaml index 0807ecd4..31903435 100644 --- a/onos-operator/charts/topo-operator/templates/clusterrole.yaml +++ b/onos-operator/charts/topo-operator/templates/clusterrole.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/onos-operator/charts/topo-operator/templates/clusterrolebinding.yaml b/onos-operator/charts/topo-operator/templates/clusterrolebinding.yaml index 6b63611e..941a2a43 100644 --- a/onos-operator/charts/topo-operator/templates/clusterrolebinding.yaml +++ b/onos-operator/charts/topo-operator/templates/clusterrolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/onos-operator/charts/topo-operator/templates/configmap.yaml b/onos-operator/charts/topo-operator/templates/configmap.yaml index 95b0078d..0b46cda2 100644 --- a/onos-operator/charts/topo-operator/templates/configmap.yaml +++ b/onos-operator/charts/topo-operator/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-operator/charts/topo-operator/templates/deployment.yaml b/onos-operator/charts/topo-operator/templates/deployment.yaml index 846746ac..bd90bd73 100644 --- a/onos-operator/charts/topo-operator/templates/deployment.yaml +++ b/onos-operator/charts/topo-operator/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "topo-operator.scope" . }} apiVersion: apps/v1 kind: Deployment diff --git a/onos-operator/charts/topo-operator/templates/role.yaml b/onos-operator/charts/topo-operator/templates/role.yaml index 52958b6c..9556fed6 100644 --- a/onos-operator/charts/topo-operator/templates/role.yaml +++ b/onos-operator/charts/topo-operator/templates/role.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "topo-operator.scope" . }} {{- if eq $scope "namespace" }} apiVersion: rbac.authorization.k8s.io/v1 diff --git a/onos-operator/charts/topo-operator/templates/rolebinding.yaml b/onos-operator/charts/topo-operator/templates/rolebinding.yaml index 147f1caf..0ccf316b 100644 --- a/onos-operator/charts/topo-operator/templates/rolebinding.yaml +++ b/onos-operator/charts/topo-operator/templates/rolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $scope := include "topo-operator.scope" . }} {{- if eq $scope "namespace" }} kind: RoleBinding diff --git a/onos-operator/charts/topo-operator/templates/serviceaccount.yaml b/onos-operator/charts/topo-operator/templates/serviceaccount.yaml index 7b936890..81af5165 100644 --- a/onos-operator/charts/topo-operator/templates/serviceaccount.yaml +++ b/onos-operator/charts/topo-operator/templates/serviceaccount.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/onos-operator/charts/topo-operator/values.yaml b/onos-operator/charts/topo-operator/values.yaml index 2752e2dc..48afdae1 100644 --- a/onos-operator/charts/topo-operator/values.yaml +++ b/onos-operator/charts/topo-operator/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + nameOverride: "" fullnameOverride: "" diff --git a/onos-operator/templates/_helpers.tpl b/onos-operator/templates/_helpers.tpl index cec3f81f..8f2c5d4b 100644 --- a/onos-operator/templates/_helpers.tpl +++ b/onos-operator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-operator/values.yaml b/onos-operator/values.yaml index 6730ae4c..ce2ba721 100644 --- a/onos-operator/values.yaml +++ b/onos-operator/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + imagePullSecrets: [] nameOverride: "" fullnameOverride: "onos-operator" diff --git a/onos-topo/.helmignore b/onos-topo/.helmignore index 50af0317..9f71ac3e 100644 --- a/onos-topo/.helmignore +++ b/onos-topo/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-topo/Chart.yaml b/onos-topo/Chart.yaml index 22ef0720..ee20a7c1 100644 --- a/onos-topo/Chart.yaml +++ b/onos-topo/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-topo description: ONOS Topology service kubeVersion: ">=1.17.0" type: application -version: 1.3.1 +version: 1.3.2 appVersion: v0.9.4 keywords: - onos diff --git a/onos-topo/README.md b/onos-topo/README.md index b9953efe..cf7583be 100644 --- a/onos-topo/README.md +++ b/onos-topo/README.md @@ -1,3 +1,9 @@ + + ## ONOS Topo Helm Chart Provides a [Helm] chart for deploying µONOS topo on [Kubernetes]. See the diff --git a/onos-topo/files/certs/README.md b/onos-topo/files/certs/README.md index af4876c4..91a98d11 100644 --- a/onos-topo/files/certs/README.md +++ b/onos-topo/files/certs/README.md @@ -1,3 +1,9 @@ + + This folder contains self-signed certificates for use in testing. _DO NOT USE THESE CERTIFICATES IN PRODUCTION!_ diff --git a/onos-topo/templates/_helpers.tpl b/onos-topo/templates/_helpers.tpl index 544baf9f..19ab2b9b 100644 --- a/onos-topo/templates/_helpers.tpl +++ b/onos-topo/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-topo/templates/configmap.yaml b/onos-topo/templates/configmap.yaml index 13504788..e521dbd6 100644 --- a/onos-topo/templates/configmap.yaml +++ b/onos-topo/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/onos-topo/templates/deployment.yaml b/onos-topo/templates/deployment.yaml index 858487ca..0eba5e01 100644 --- a/onos-topo/templates/deployment.yaml +++ b/onos-topo/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/onos-topo/templates/primitives.yaml b/onos-topo/templates/primitives.yaml index fae77d9f..6c9462a2 100644 --- a/onos-topo/templates/primitives.yaml +++ b/onos-topo/templates/primitives.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: primitives.atomix.io/v2beta1 kind: Map metadata: diff --git a/onos-topo/templates/role.yaml b/onos-topo/templates/role.yaml index e440c84e..739113a0 100644 --- a/onos-topo/templates/role.yaml +++ b/onos-topo/templates/role.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: diff --git a/onos-topo/templates/rolebinding.yaml b/onos-topo/templates/rolebinding.yaml index 43523160..3d443d16 100644 --- a/onos-topo/templates/rolebinding.yaml +++ b/onos-topo/templates/rolebinding.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/onos-topo/templates/secret.yaml b/onos-topo/templates/secret.yaml index af75b75f..529f2147 100644 --- a/onos-topo/templates/secret.yaml +++ b/onos-topo/templates/secret.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Secret metadata: diff --git a/onos-topo/templates/service.yaml b/onos-topo/templates/service.yaml index 2d339c8a..bb423b82 100644 --- a/onos-topo/templates/service.yaml +++ b/onos-topo/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/onos-topo/templates/serviceaccount.yaml b/onos-topo/templates/serviceaccount.yaml index b9d65509..196f591f 100644 --- a/onos-topo/templates/serviceaccount.yaml +++ b/onos-topo/templates/serviceaccount.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/onos-topo/templates/store.yaml b/onos-topo/templates/store.yaml index 3e5a2a86..f0aaa5fc 100644 --- a/onos-topo/templates/store.yaml +++ b/onos-topo/templates/store.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.store.consensus.enabled }} apiVersion: atomix.io/v2beta1 kind: Store diff --git a/onos-topo/tests/onos-topo.go b/onos-topo/tests/onos-topo.go index d4cff135..3f8868bc 100644 --- a/onos-topo/tests/onos-topo.go +++ b/onos-topo/tests/onos-topo.go @@ -1,16 +1,6 @@ -// Copyright 2020-present Open Networking Foundation. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +# SPDX-FileCopyrightText: 2020 Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 package tests diff --git a/onos-topo/values.yaml b/onos-topo/values.yaml index 7a69353d..a1d566f8 100644 --- a/onos-topo/values.yaml +++ b/onos-topo/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for onos-topo. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-tost/Chart.yaml b/onos-tost/Chart.yaml index 53c441a5..c6e9beef 100644 --- a/onos-tost/Chart.yaml +++ b/onos-tost/Chart.yaml @@ -1,7 +1,11 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- apiVersion: v1 name: onos-tost -version: 0.1.42 +version: 0.1.43 kubeVersion: ">=1.10.0" appVersion: stable-2020-12-15 description: ONOS helm chart for TOST diff --git a/onos-tost/requirements.yaml b/onos-tost/requirements.yaml index 1db47b66..8a040fc1 100644 --- a/onos-tost/requirements.yaml +++ b/onos-tost/requirements.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + --- dependencies: - name: onos-classic diff --git a/onos-tost/values.yaml b/onos-tost/values.yaml index a1d0a1ea..9025fbbf 100644 --- a/onos-tost/values.yaml +++ b/onos-tost/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + onos-classic: image: repository: registry.aetherproject.org/tost/tost diff --git a/onos-umbrella/.gitignore b/onos-umbrella/.gitignore index b699e972..47be5b3e 100644 --- a/onos-umbrella/.gitignore +++ b/onos-umbrella/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + requirements.lock charts Chart.lock \ No newline at end of file diff --git a/onos-umbrella/Chart.yaml b/onos-umbrella/Chart.yaml index 6d272f3b..361d64ae 100644 --- a/onos-umbrella/Chart.yaml +++ b/onos-umbrella/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-umbrella description: Umbrella chart to deploy all µONOS kubeVersion: ">=1.17.0" type: application -version: 1.2.18 +version: 1.2.19 appVersion: v1.1.0 keywords: - onos @@ -16,16 +20,16 @@ dependencies: - name: onos-topo condition: import.onos-topo.enabled repository: file://../onos-topo - version: 1.3.1 + version: 1.3.2 - name: onos-config condition: import.onos-config.enabled repository: file://../onos-config - version: 1.7.1 + version: 1.7.2 - name: onos-gui condition: import.onos-gui.enabled repository: file://../onos-gui - version: 1.0.8 + version: 1.0.9 - name: onos-cli condition: import.onos-cli.enabled repository: file://../onos-cli - version: 1.3.1 + version: 1.3.2 diff --git a/onos-umbrella/README.md b/onos-umbrella/README.md index e8f64c57..832b7812 100644 --- a/onos-umbrella/README.md +++ b/onos-umbrella/README.md @@ -1,3 +1,9 @@ + + ## µONOS Umbrella chart Provides a [Helm] chart for deploying ONOS-TOPO, ONOS-CONFIG and ONOS-GUI to [Kubernetes]. diff --git a/onos-umbrella/files/configs/README.md b/onos-umbrella/files/configs/README.md index 1eaf3795..d9e55ae8 100644 --- a/onos-umbrella/files/configs/README.md +++ b/onos-umbrella/files/configs/README.md @@ -1,3 +1,9 @@ + + # Config files Available in /home/onos at runtime. Needed diff --git a/onos-umbrella/files/configs/berlin-devicesim-1-gnmi.yaml b/onos-umbrella/files/configs/berlin-devicesim-1-gnmi.yaml index 56bb0d67..722baca9 100644 --- a/onos-umbrella/files/configs/berlin-devicesim-1-gnmi.yaml +++ b/onos-umbrella/files/configs/berlin-devicesim-1-gnmi.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + setrequest: prefix: target: devicesim-1 diff --git a/onos-umbrella/files/configs/berlin-devicesim-2-gnmi.yaml b/onos-umbrella/files/configs/berlin-devicesim-2-gnmi.yaml index b5332054..6e638c44 100644 --- a/onos-umbrella/files/configs/berlin-devicesim-2-gnmi.yaml +++ b/onos-umbrella/files/configs/berlin-devicesim-2-gnmi.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + setrequest: prefix: target: devicesim-2 diff --git a/onos-umbrella/files/configs/berlin-grid-4-topo.yaml b/onos-umbrella/files/configs/berlin-grid-4-topo.yaml index 7644a6a8..583a7b7e 100644 --- a/onos-umbrella/files/configs/berlin-grid-4-topo.yaml +++ b/onos-umbrella/files/configs/berlin-grid-4-topo.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + topokinds: - id: "Devicesim" type: 3 diff --git a/onos-umbrella/files/opa-rbac/devicesim-1.0.0.rego b/onos-umbrella/files/opa-rbac/devicesim-1.0.0.rego index b60ada4f..67581fb4 100644 --- a/onos-umbrella/files/opa-rbac/devicesim-1.0.0.rego +++ b/onos-umbrella/files/opa-rbac/devicesim-1.0.0.rego @@ -1,6 +1,6 @@ -# SPDX-FileCopyrightText: 2022-present Open Networking Foundation +# SPDX-FileCopyrightText: 2020 Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 package devicesim_1_0_0 diff --git a/onos-umbrella/templates/_helpers.tpl b/onos-umbrella/templates/_helpers.tpl index 3bd3fff4..1098f0c7 100644 --- a/onos-umbrella/templates/_helpers.tpl +++ b/onos-umbrella/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-umbrella/templates/opa-rbac-configmap.yaml b/onos-umbrella/templates/opa-rbac-configmap.yaml index 8504e246..766bb1e8 100644 --- a/onos-umbrella/templates/opa-rbac-configmap.yaml +++ b/onos-umbrella/templates/opa-rbac-configmap.yaml @@ -1,6 +1,6 @@ -# SPDX-FileCopyrightText: 2022-present Open Networking Foundation +# SPDX-FileCopyrightText: 2020 Open Networking Foundation # -# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 +# SPDX-License-Identifier: Apache-2.0 {{ if ".Values.onos-config.openpolicyagent.enabled" }} apiVersion: v1 diff --git a/onos-umbrella/templates/store.yaml b/onos-umbrella/templates/store.yaml index 9e1b2b4a..01bbd897 100644 --- a/onos-umbrella/templates/store.yaml +++ b/onos-umbrella/templates/store.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- if .Values.global.store.consensus.enabled }} apiVersion: atomix.io/v2beta1 kind: Store diff --git a/onos-umbrella/tests/onos-umbrella.go b/onos-umbrella/tests/onos-umbrella.go index 66b1a651..0d857adf 100644 --- a/onos-umbrella/tests/onos-umbrella.go +++ b/onos-umbrella/tests/onos-umbrella.go @@ -1,16 +1,6 @@ -// Copyright 2020-present Open Networking Foundation. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +# SPDX-FileCopyrightText: 2020 Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 package tests diff --git a/onos-umbrella/values.yaml b/onos-umbrella/values.yaml index b922835d..148eda6e 100644 --- a/onos-umbrella/values.yaml +++ b/onos-umbrella/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for all µONOS Helm charts. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/onos-ztp/.helmignore b/onos-ztp/.helmignore index 50af0317..9f71ac3e 100644 --- a/onos-ztp/.helmignore +++ b/onos-ztp/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/onos-ztp/Chart.yaml b/onos-ztp/Chart.yaml index 0ebb7d7e..645abc72 100644 --- a/onos-ztp/Chart.yaml +++ b/onos-ztp/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: onos-ztp description: ONOS Zero Touch Provisioning Subsystem kubeVersion: ">=1.17.0" type: application -version: 0.0.4 +version: 0.0.5 appVersion: v0.6.0 keywords: - onos diff --git a/onos-ztp/README.md b/onos-ztp/README.md index 262ea137..ec87a26a 100644 --- a/onos-ztp/README.md +++ b/onos-ztp/README.md @@ -1,3 +1,9 @@ + + ## ONOS ZTP Helm Chart Provides a [Helm] chart for deploying µONOS ZTP on [Kubernetes]. See the diff --git a/onos-ztp/files/certs/README.md b/onos-ztp/files/certs/README.md index ee87cfb5..760fe8d2 100644 --- a/onos-ztp/files/certs/README.md +++ b/onos-ztp/files/certs/README.md @@ -1,3 +1,9 @@ + + This folder contains self-signed certificates for use in testing. _DO NOT USE THESE CERTIFICATES IN PRODUCTION!_ diff --git a/onos-ztp/templates/_helpers.tpl b/onos-ztp/templates/_helpers.tpl index 1b1a0a25..256afaea 100644 --- a/onos-ztp/templates/_helpers.tpl +++ b/onos-ztp/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/onos-ztp/templates/deployment.yaml b/onos-ztp/templates/deployment.yaml index dfdde6de..7f1a3c33 100644 --- a/onos-ztp/templates/deployment.yaml +++ b/onos-ztp/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/onos-ztp/templates/secret.yaml b/onos-ztp/templates/secret.yaml index c6691fed..d641862b 100644 --- a/onos-ztp/templates/secret.yaml +++ b/onos-ztp/templates/secret.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Secret metadata: diff --git a/onos-ztp/templates/service.yaml b/onos-ztp/templates/service.yaml index bac0620a..ada4ac12 100644 --- a/onos-ztp/templates/service.yaml +++ b/onos-ztp/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: Service metadata: diff --git a/onos-ztp/values.yaml b/onos-ztp/values.yaml index 7de0b57b..65ec1f4b 100644 --- a/onos-ztp/values.yaml +++ b/onos-ztp/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for onos-ztp. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/stratum-simulator/.helmignore b/stratum-simulator/.helmignore index 50af0317..9f71ac3e 100644 --- a/stratum-simulator/.helmignore +++ b/stratum-simulator/.helmignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/stratum-simulator/Chart.yaml b/stratum-simulator/Chart.yaml index b88ea85c..b0cbf777 100644 --- a/stratum-simulator/Chart.yaml +++ b/stratum-simulator/Chart.yaml @@ -1,9 +1,13 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: stratum-simulator description: Stratum Simulator kubeVersion: ">=1.15.0" type: application -version: 0.0.1 +version: 0.0.2 appVersion: v0.1.0 keywords: - onos diff --git a/stratum-simulator/templates/_helpers.tpl b/stratum-simulator/templates/_helpers.tpl index c10b3f26..ff15c398 100644 --- a/stratum-simulator/templates/_helpers.tpl +++ b/stratum-simulator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/stratum-simulator/templates/deployment.yaml b/stratum-simulator/templates/deployment.yaml index ed85adcc..bc919eb1 100644 --- a/stratum-simulator/templates/deployment.yaml +++ b/stratum-simulator/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/stratum-simulator/templates/service.yaml b/stratum-simulator/templates/service.yaml index ccddc3a9..c1d95dff 100644 --- a/stratum-simulator/templates/service.yaml +++ b/stratum-simulator/templates/service.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{- $fullName := include "stratum-simulator.fullname" . -}} {{- $labels := include "stratum-simulator.labels" . -}} apiVersion: v1 diff --git a/stratum-simulator/values.yaml b/stratum-simulator/values.yaml index 47511f4c..17b6d3f6 100644 --- a/stratum-simulator/values.yaml +++ b/stratum-simulator/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + # Default values for stratum-simulator. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/test/main.go b/test/main.go index c405ce90..b7c4c554 100644 --- a/test/main.go +++ b/test/main.go @@ -1,16 +1,6 @@ -// Copyright 2020-present Open Networking Foundation. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +# SPDX-FileCopyrightText: 2020 Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 package main diff --git a/tlaplus-monitor/Chart.yaml b/tlaplus-monitor/Chart.yaml index c9bed671..f1d79472 100644 --- a/tlaplus-monitor/Chart.yaml +++ b/tlaplus-monitor/Chart.yaml @@ -1,8 +1,12 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v2 name: tlaplus-monitor kubeVersion: ">=1.12.0" type: application -version: 0.0.1 +version: 0.0.2 appVersion: 1.0 description: TLA+ Conformance Monitor keywords: diff --git a/tlaplus-monitor/README.md b/tlaplus-monitor/README.md index d86023c1..df56fa39 100644 --- a/tlaplus-monitor/README.md +++ b/tlaplus-monitor/README.md @@ -1,3 +1,9 @@ + + # TLA+ Conformance Monitor Provides a Helm chart for near-real time [TLA+] conformance monitoring using TLC. diff --git a/tlaplus-monitor/templates/_helpers.tpl b/tlaplus-monitor/templates/_helpers.tpl index 684b8bd4..23e27a79 100644 --- a/tlaplus-monitor/templates/_helpers.tpl +++ b/tlaplus-monitor/templates/_helpers.tpl @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. diff --git a/tlaplus-monitor/templates/configmap.yaml b/tlaplus-monitor/templates/configmap.yaml index c20502db..2848f8aa 100644 --- a/tlaplus-monitor/templates/configmap.yaml +++ b/tlaplus-monitor/templates/configmap.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: v1 kind: ConfigMap metadata: diff --git a/tlaplus-monitor/templates/deployment.yaml b/tlaplus-monitor/templates/deployment.yaml index 3bd3f569..e0b36174 100644 --- a/tlaplus-monitor/templates/deployment.yaml +++ b/tlaplus-monitor/templates/deployment.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/tlaplus-monitor/values.yaml b/tlaplus-monitor/values.yaml index ce7cc874..c7172e74 100644 --- a/tlaplus-monitor/values.yaml +++ b/tlaplus-monitor/values.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 2020-present Open Networking Foundation +# +# SPDX-License-Identifier: Apache-2.0 + nameOverride: "" fullnameOverride: ""