diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 62b7c53f955..c43f988afb5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,3 +2,4 @@ * @ornias1993 /charts/esphome/* @tprelog +/charts/unifi/* @whiskerz007 diff --git a/charts/traefik/1.0.3/.helmignore b/charts/traefik/1.0.4/.helmignore similarity index 100% rename from charts/traefik/1.0.3/.helmignore rename to charts/traefik/1.0.4/.helmignore diff --git a/charts/traefik/1.0.3/Chart.lock b/charts/traefik/1.0.4/Chart.lock similarity index 100% rename from charts/traefik/1.0.3/Chart.lock rename to charts/traefik/1.0.4/Chart.lock diff --git a/charts/traefik/1.0.3/Chart.yaml b/charts/traefik/1.0.4/Chart.yaml similarity index 98% rename from charts/traefik/1.0.3/Chart.yaml rename to charts/traefik/1.0.4/Chart.yaml index fd199ee99a0..6eae19ce27a 100644 --- a/charts/traefik/1.0.3/Chart.yaml +++ b/charts/traefik/1.0.4/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 kubeVersion: ">=1.16.0-0" name: traefik -version: 1.0.3 +version: 1.0.4 upstream_version: 9.14.2 appVersion: 2.4.2 description: A Traefik based Reverse Proxy and Certificate Manager diff --git a/charts/traefik/1.0.3/Guidelines.md b/charts/traefik/1.0.4/Guidelines.md similarity index 100% rename from charts/traefik/1.0.3/Guidelines.md rename to charts/traefik/1.0.4/Guidelines.md diff --git a/charts/traefik/1.0.3/LICENSE b/charts/traefik/1.0.4/LICENSE similarity index 100% rename from charts/traefik/1.0.3/LICENSE rename to charts/traefik/1.0.4/LICENSE diff --git a/charts/traefik/1.0.3/README.md b/charts/traefik/1.0.4/README.md similarity index 100% rename from charts/traefik/1.0.3/README.md rename to charts/traefik/1.0.4/README.md diff --git a/charts/traefik/1.0.3/app-readme.md b/charts/traefik/1.0.4/app-readme.md similarity index 98% rename from charts/traefik/1.0.3/app-readme.md rename to charts/traefik/1.0.4/app-readme.md index a0eee9b953a..e9f33caacb9 100644 --- a/charts/traefik/1.0.3/app-readme.md +++ b/charts/traefik/1.0.4/app-readme.md @@ -1,2 +1 @@ A Traefik based Reverse Proxy and Certificate Manager - diff --git a/charts/traefik/1.0.3/charts/cert-manager-v1.2.0.tgz b/charts/traefik/1.0.4/charts/cert-manager-v1.2.0.tgz similarity index 100% rename from charts/traefik/1.0.3/charts/cert-manager-v1.2.0.tgz rename to charts/traefik/1.0.4/charts/cert-manager-v1.2.0.tgz diff --git a/charts/traefik/1.0.3/charts/common-1.3.1.tgz b/charts/traefik/1.0.4/charts/common-1.3.1.tgz similarity index 100% rename from charts/traefik/1.0.3/charts/common-1.3.1.tgz rename to charts/traefik/1.0.4/charts/common-1.3.1.tgz diff --git a/charts/traefik/1.0.3/charts/reflector-5.4.17.tgz b/charts/traefik/1.0.4/charts/reflector-5.4.17.tgz similarity index 100% rename from charts/traefik/1.0.3/charts/reflector-5.4.17.tgz rename to charts/traefik/1.0.4/charts/reflector-5.4.17.tgz diff --git a/charts/traefik/1.0.3/crds/ingressroute.yaml b/charts/traefik/1.0.4/crds/ingressroute.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/ingressroute.yaml rename to charts/traefik/1.0.4/crds/ingressroute.yaml diff --git a/charts/traefik/1.0.3/crds/ingressroutetcp.yaml b/charts/traefik/1.0.4/crds/ingressroutetcp.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/ingressroutetcp.yaml rename to charts/traefik/1.0.4/crds/ingressroutetcp.yaml diff --git a/charts/traefik/1.0.3/crds/ingressrouteudp.yaml b/charts/traefik/1.0.4/crds/ingressrouteudp.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/ingressrouteudp.yaml rename to charts/traefik/1.0.4/crds/ingressrouteudp.yaml diff --git a/charts/traefik/1.0.3/crds/middlewares.yaml b/charts/traefik/1.0.4/crds/middlewares.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/middlewares.yaml rename to charts/traefik/1.0.4/crds/middlewares.yaml diff --git a/charts/traefik/1.0.3/crds/serverstransports.yaml b/charts/traefik/1.0.4/crds/serverstransports.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/serverstransports.yaml rename to charts/traefik/1.0.4/crds/serverstransports.yaml diff --git a/charts/traefik/1.0.3/crds/tlsoptions.yaml b/charts/traefik/1.0.4/crds/tlsoptions.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/tlsoptions.yaml rename to charts/traefik/1.0.4/crds/tlsoptions.yaml diff --git a/charts/traefik/1.0.3/crds/tlsstores.yaml b/charts/traefik/1.0.4/crds/tlsstores.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/tlsstores.yaml rename to charts/traefik/1.0.4/crds/tlsstores.yaml diff --git a/charts/traefik/1.0.3/crds/traefikservices.yaml b/charts/traefik/1.0.4/crds/traefikservices.yaml similarity index 100% rename from charts/traefik/1.0.3/crds/traefikservices.yaml rename to charts/traefik/1.0.4/crds/traefikservices.yaml diff --git a/charts/traefik/1.0.3/docs/CONFIG.md b/charts/traefik/1.0.4/docs/CONFIG.md similarity index 100% rename from charts/traefik/1.0.3/docs/CONFIG.md rename to charts/traefik/1.0.4/docs/CONFIG.md diff --git a/charts/traefik/1.0.3/docs/CONFIG.md.gotmpl b/charts/traefik/1.0.4/docs/CONFIG.md.gotmpl similarity index 100% rename from charts/traefik/1.0.3/docs/CONFIG.md.gotmpl rename to charts/traefik/1.0.4/docs/CONFIG.md.gotmpl diff --git a/charts/traefik/1.0.3/questions.yaml b/charts/traefik/1.0.4/questions.yaml similarity index 100% rename from charts/traefik/1.0.3/questions.yaml rename to charts/traefik/1.0.4/questions.yaml diff --git a/charts/traefik/1.0.3/templates/_helpers.tpl b/charts/traefik/1.0.4/templates/_helpers.tpl similarity index 100% rename from charts/traefik/1.0.3/templates/_helpers.tpl rename to charts/traefik/1.0.4/templates/_helpers.tpl diff --git a/charts/traefik/1.0.3/templates/_podtemplate.tpl b/charts/traefik/1.0.4/templates/_podtemplate.tpl similarity index 100% rename from charts/traefik/1.0.3/templates/_podtemplate.tpl rename to charts/traefik/1.0.4/templates/_podtemplate.tpl diff --git a/charts/traefik/1.0.3/templates/custom/_appStorage.tpl b/charts/traefik/1.0.4/templates/custom/_appStorage.tpl similarity index 100% rename from charts/traefik/1.0.3/templates/custom/_appStorage.tpl rename to charts/traefik/1.0.4/templates/custom/_appStorage.tpl diff --git a/charts/traefik/1.0.3/templates/custom/appingress.yaml b/charts/traefik/1.0.4/templates/custom/appingress.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/appingress.yaml rename to charts/traefik/1.0.4/templates/custom/appingress.yaml diff --git a/charts/traefik/1.0.3/templates/custom/clusterissuer.yaml b/charts/traefik/1.0.4/templates/custom/clusterissuer.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/clusterissuer.yaml rename to charts/traefik/1.0.4/templates/custom/clusterissuer.yaml diff --git a/charts/traefik/1.0.3/templates/custom/delay_postinstall.yaml b/charts/traefik/1.0.4/templates/custom/delay_postinstall.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/delay_postinstall.yaml rename to charts/traefik/1.0.4/templates/custom/delay_postinstall.yaml diff --git a/charts/traefik/1.0.3/templates/custom/middlewares.yaml b/charts/traefik/1.0.4/templates/custom/middlewares.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/middlewares.yaml rename to charts/traefik/1.0.4/templates/custom/middlewares.yaml diff --git a/charts/traefik/1.0.3/templates/custom/tlsoptions.yaml b/charts/traefik/1.0.4/templates/custom/tlsoptions.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/tlsoptions.yaml rename to charts/traefik/1.0.4/templates/custom/tlsoptions.yaml diff --git a/charts/traefik/1.0.3/templates/custom/wildcard.yaml b/charts/traefik/1.0.4/templates/custom/wildcard.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/custom/wildcard.yaml rename to charts/traefik/1.0.4/templates/custom/wildcard.yaml diff --git a/charts/traefik/1.0.3/templates/daemonset.yaml b/charts/traefik/1.0.4/templates/daemonset.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/daemonset.yaml rename to charts/traefik/1.0.4/templates/daemonset.yaml diff --git a/charts/traefik/1.0.3/templates/dashboard-hook-ingressroute.yaml b/charts/traefik/1.0.4/templates/dashboard-hook-ingressroute.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/dashboard-hook-ingressroute.yaml rename to charts/traefik/1.0.4/templates/dashboard-hook-ingressroute.yaml diff --git a/charts/traefik/1.0.3/templates/deployment.yaml b/charts/traefik/1.0.4/templates/deployment.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/deployment.yaml rename to charts/traefik/1.0.4/templates/deployment.yaml diff --git a/charts/traefik/1.0.3/templates/gateway.yaml b/charts/traefik/1.0.4/templates/gateway.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/gateway.yaml rename to charts/traefik/1.0.4/templates/gateway.yaml diff --git a/charts/traefik/1.0.3/templates/gatewayclass.yaml b/charts/traefik/1.0.4/templates/gatewayclass.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/gatewayclass.yaml rename to charts/traefik/1.0.4/templates/gatewayclass.yaml diff --git a/charts/traefik/1.0.3/templates/hpa.yaml b/charts/traefik/1.0.4/templates/hpa.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/hpa.yaml rename to charts/traefik/1.0.4/templates/hpa.yaml diff --git a/charts/traefik/1.0.3/templates/ingressclass.yaml b/charts/traefik/1.0.4/templates/ingressclass.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/ingressclass.yaml rename to charts/traefik/1.0.4/templates/ingressclass.yaml diff --git a/charts/traefik/1.0.3/templates/poddisruptionbudget.yaml b/charts/traefik/1.0.4/templates/poddisruptionbudget.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/poddisruptionbudget.yaml rename to charts/traefik/1.0.4/templates/poddisruptionbudget.yaml diff --git a/charts/traefik/1.0.3/templates/pvc.yaml b/charts/traefik/1.0.4/templates/pvc.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/pvc.yaml rename to charts/traefik/1.0.4/templates/pvc.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/clusterrole.yaml b/charts/traefik/1.0.4/templates/rbac/clusterrole.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/clusterrole.yaml rename to charts/traefik/1.0.4/templates/rbac/clusterrole.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/clusterrolebinding.yaml b/charts/traefik/1.0.4/templates/rbac/clusterrolebinding.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/clusterrolebinding.yaml rename to charts/traefik/1.0.4/templates/rbac/clusterrolebinding.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/podsecuritypolicy.yaml b/charts/traefik/1.0.4/templates/rbac/podsecuritypolicy.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/podsecuritypolicy.yaml rename to charts/traefik/1.0.4/templates/rbac/podsecuritypolicy.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/role.yaml b/charts/traefik/1.0.4/templates/rbac/role.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/role.yaml rename to charts/traefik/1.0.4/templates/rbac/role.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/rolebinding.yaml b/charts/traefik/1.0.4/templates/rbac/rolebinding.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/rolebinding.yaml rename to charts/traefik/1.0.4/templates/rbac/rolebinding.yaml diff --git a/charts/traefik/1.0.3/templates/rbac/serviceaccount.yaml b/charts/traefik/1.0.4/templates/rbac/serviceaccount.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/rbac/serviceaccount.yaml rename to charts/traefik/1.0.4/templates/rbac/serviceaccount.yaml diff --git a/charts/traefik/1.0.3/templates/service.yaml b/charts/traefik/1.0.4/templates/service.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/service.yaml rename to charts/traefik/1.0.4/templates/service.yaml diff --git a/charts/traefik/1.0.3/templates/tlsoption.yaml b/charts/traefik/1.0.4/templates/tlsoption.yaml similarity index 100% rename from charts/traefik/1.0.3/templates/tlsoption.yaml rename to charts/traefik/1.0.4/templates/tlsoption.yaml diff --git a/charts/traefik/1.0.3/test_values.yaml b/charts/traefik/1.0.4/test_values.yaml similarity index 96% rename from charts/traefik/1.0.3/test_values.yaml rename to charts/traefik/1.0.4/test_values.yaml index 626d75efcfd..821d5e22bd3 100644 --- a/charts/traefik/1.0.3/test_values.yaml +++ b/charts/traefik/1.0.4/test_values.yaml @@ -302,6 +302,26 @@ ports: # nodePort: 32443 # Set TLS at the entrypoint # https://doc.traefik.io/traefik/routing/entrypoints/#tls + stun-tcp: + port: 3478 + # hostPort: 8443 + expose: true + exposedPort: 3478 + # The port protocol (TCP/UDP) + protocol: TCP + # nodePort: 32443 + # Set TLS at the entrypoint + # https://doc.traefik.io/traefik/routing/entrypoints/#tls + stun-udp: + port: 3478 + # hostPort: 8443 + expose: true + exposedPort: 3478 + # The port protocol (TCP/UDP) + protocol: UDP + # nodePort: 32443 + # Set TLS at the entrypoint + # https://doc.traefik.io/traefik/routing/entrypoints/#tls torrent-tcp: port: 51413 # hostPort: 8443 @@ -353,10 +373,10 @@ ports: # Set TLS at the entrypoint # https://doc.traefik.io/traefik/routing/entrypoints/#tls unificom: - port: 8081 + port: 8080 # hostPort: 8443 expose: true - exposedPort: 8081 + exposedPort: 8080 # The port protocol (TCP/UDP) protocol: TCP # nodePort: 32443 diff --git a/charts/traefik/1.0.3/values.yaml b/charts/traefik/1.0.4/values.yaml similarity index 96% rename from charts/traefik/1.0.3/values.yaml rename to charts/traefik/1.0.4/values.yaml index cdd761cc8e4..4450cf1a109 100644 --- a/charts/traefik/1.0.3/values.yaml +++ b/charts/traefik/1.0.4/values.yaml @@ -301,6 +301,26 @@ ports: # nodePort: 32443 # Set TLS at the entrypoint # https://doc.traefik.io/traefik/routing/entrypoints/#tls + stun-tcp: + port: 3478 + # hostPort: 8443 + expose: true + exposedPort: 3478 + # The port protocol (TCP/UDP) + protocol: TCP + # nodePort: 32443 + # Set TLS at the entrypoint + # https://doc.traefik.io/traefik/routing/entrypoints/#tls + stun-udp: + port: 3478 + # hostPort: 8443 + expose: true + exposedPort: 3478 + # The port protocol (TCP/UDP) + protocol: UDP + # nodePort: 32443 + # Set TLS at the entrypoint + # https://doc.traefik.io/traefik/routing/entrypoints/#tls torrent-tcp: port: 51413 # hostPort: 8443 @@ -352,10 +372,10 @@ ports: # Set TLS at the entrypoint # https://doc.traefik.io/traefik/routing/entrypoints/#tls unificom: - port: 8081 + port: 8080 # hostPort: 8443 expose: true - exposedPort: 8081 + exposedPort: 8080 # The port protocol (TCP/UDP) protocol: TCP # nodePort: 32443 diff --git a/charts/unifi/1.0.0/.helmignore b/charts/unifi/1.0.0/.helmignore new file mode 100644 index 00000000000..fcf9212f480 --- /dev/null +++ b/charts/unifi/1.0.0/.helmignore @@ -0,0 +1,24 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode +# OWNERS file for Kubernetes +OWNERS diff --git a/charts/unifi/1.0.0/Chart.lock b/charts/unifi/1.0.0/Chart.lock new file mode 100644 index 00000000000..f2c4886b998 --- /dev/null +++ b/charts/unifi/1.0.0/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://charts.truecharts.org/ + version: 1.3.0 +digest: sha256:a8928a03fcb76273e4859e665534195ef86dfa8710d8cb04d06114ce97227692 +generated: "2021-02-21T10:52:48.201533475Z" diff --git a/charts/unifi/1.0.0/Chart.yaml b/charts/unifi/1.0.0/Chart.yaml new file mode 100644 index 00000000000..a648b4337d3 --- /dev/null +++ b/charts/unifi/1.0.0/Chart.yaml @@ -0,0 +1,34 @@ +apiVersion: v2 +kubeVersion: ">=1.16.0-0" +name: unifi +version: 1.0.0 +upstream_version: 1.5.1 +appVersion: 5.14.23 +description: Ubiquiti Network's Unifi Controller +type: application +deprecated: false +home: https://github.com/truecharts/charts/tree/master/charts/unifi +icon: https://dl.ubnt.com/press/logo-UniFi.png +keywords: + - ubiquiti + - unifi +sources: + - https://github.com/truecharts/charts/tree/master/charts/unifi + - https://github.com/jacobalberty/unifi-docker + - https://unifi-network.ui.com +dependencies: + - name: common + repository: https://charts.truecharts.com/ + version: 1.3.0 + # condition: + # tags: + # import-values: + # alias: +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: truecharts.org + - name: whiskerz007 + email: whiskerz007@users.noreply.github.com + # url: +# annotations: diff --git a/charts/unifi/1.0.0/LICENSE b/charts/unifi/1.0.0/LICENSE new file mode 100644 index 00000000000..056d3dab356 --- /dev/null +++ b/charts/unifi/1.0.0/LICENSE @@ -0,0 +1,201 @@ + 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 2020 k8s@Home + + 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/charts/unifi/1.0.0/README.md b/charts/unifi/1.0.0/README.md new file mode 100644 index 00000000000..045363806ce --- /dev/null +++ b/charts/unifi/1.0.0/README.md @@ -0,0 +1,69 @@ +# Unifi Controller + +This is a helm chart for [unifi](https://unifi-network.ui.com/). + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)** + +## TL;DR; + +```shell +$ helm repo add k8s-at-home https://k8s-at-home.com/charts/ +$ helm install k8s-at-home/grocy +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +helm install --name my-release k8s-at-home/grocy +``` + +## Uninstalling the Chart + +To uninstall/delete the `my-release` deployment: + +```console +helm delete my-release --purge +``` + +The command removes all the Kubernetes components associated with the chart and deletes the release. + +## Configuration +Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/grocy/values.yaml) +file. It has several commented out suggested values. +Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options. + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, +```console +helm install grocy \ + --set env.TZ="America/New_York" \ + k8s-at-home/grocy +``` +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the +chart. For example, +```console +helm install grocy k8s-at-home/grocy --values values.yaml +``` + +```yaml +image: + tag: ... +``` + +--- +**NOTE** + +If you get +```console +Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...` +``` +it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`. + +--- + +## Upgrading an existing Release to a new major version + +A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions. + +Refer to the library values.yaml for more configuration options. diff --git a/charts/unifi/1.0.0/app-readme.md b/charts/unifi/1.0.0/app-readme.md new file mode 100644 index 00000000000..1f3a3b0c7f5 --- /dev/null +++ b/charts/unifi/1.0.0/app-readme.md @@ -0,0 +1 @@ +The Unifi App is designed to deploy Unifi Controller in a TrueNAS SCALE kubernetes cluster. diff --git a/charts/unifi/1.0.0/charts/common-1.3.0.tgz b/charts/unifi/1.0.0/charts/common-1.3.0.tgz new file mode 100644 index 00000000000..c4b3e3cd141 Binary files /dev/null and b/charts/unifi/1.0.0/charts/common-1.3.0.tgz differ diff --git a/charts/unifi/1.0.0/questions.yaml b/charts/unifi/1.0.0/questions.yaml new file mode 100644 index 00000000000..d39c620b5d7 --- /dev/null +++ b/charts/unifi/1.0.0/questions.yaml @@ -0,0 +1,468 @@ +groups: + - name: "Container Image" + description: "configure container image" + - name: "Configuration" + description: "additional container configuration" + - name: "Networking" + description: "Networking / service configuration" + - name: "Storage" + description: "configure app volume mounts" + - name: "Ingress" + description: "Ingress configuration" +portals: + web_portal: + protocols: + - "https" + host: + - "$node_ip" + ports: + - "$variable-service.port.nodePort" + +questions: + # Image related + - variable: image + description: "Docker Image Details" + label: "Docker Image" + group: "Container Image" + schema: + type: dict + required: true + attrs: + - variable: repository + description: "Docker image repository" + label: "Image repository" + schema: + type: string + required: true + default: "jacobalberty/unifi" + - variable: tag + description: "Tag to use for specified image" + label: "Image Tag" + schema: + type: string + default: "stable-6" + - variable: pullPolicy + description: "Docker Image Pull Policy" + label: "Image Pull Policy" + schema: + type: string + default: "IfNotPresent" + enum: + - value: "IfNotPresent" + description: "Only pull image if not present on host" + - value: "Always" + description: "Always pull image even if present on host" + - value: "Never" + description: "Never pull image even if it's not present on host" + + # Configure Time Zone + - variable: timezone + group: "Configuration" + label: "Timezone" + schema: + type: string + default: "Etc/UTC" + $ref: + - "definitions/timezone" + + - variable: PUID + group: "Configuration" + label: "PUID" + description: "The UserID of the user running the application and owning the files" + schema: + type: int + default: 568 + + - variable: PGID + group: "Configuration" + label: "PGID" + description: "The groupID of the user/group running the application and owning the files" + schema: + type: int + default: 568 + + - variable: UMASK + group: "Configuration" + label: "UMASK (advanced)" + description: "The UMASK used if supported by the application" + schema: + type: string + default: "002" + + # Configure Enviroment Variables + - variable: environmentVariables + label: "Image environment" + group: "Configuration" + schema: + type: list + default: [] + items: + - variable: environmentVariable + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + - variable: service + group: "Networking" + label: "Configure Service" + schema: + type: dict + attrs: + - variable: type + label: "Service type" + schema: + type: string + default: "ClusterIP" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + show_subquestions_if: "NodePort" + subquestions: + - variable: port + label: "Port configuration" + schema: + type: dict + attrs: + - variable: port + label: "container port" + schema: + type: int + default: 8443 + editable: false + - variable: nodePort + label: "Node Port to expose for UI" + schema: + type: int + min: 9000 + max: 65535 + default: 34309 + required: true + + - variable: appAdditionalServices + group: "Networking" + label: "Configure additional services" + schema: + type: dict + attrs: + - variable: tcp + label: "" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable TCP port for device and controller communications" + schema: + type: boolean + default: true + show_subquestions_if: true + subquestions: + - variable: port + label: "Configuration" + schema: + type: dict + attrs: + - variable: port + label: "container port" + schema: + type: int + default: 8080 + required: false + - variable: type + label: "service type" + schema: + type: string + default: "NodePort" + enum: + - value: "ClusterIP" + description: "ClusterIP" + - value: "NodePort" + description: "NodePort" + - variable: udp + label: "" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable UDP port for STUN Connections" + schema: + type: boolean + default: true + show_subquestions_if: true + subquestions: + - variable: port + label: "Configuration" + schema: + type: dict + attrs: + - variable: port + label: "container port" + schema: + type: int + default: 3478 + required: false + - variable: type + label: "service type" + schema: + type: string + default: "NodePort" + enum: + - value: "ClusterIP" + description: "ClusterIP" + - value: "NodePort" + description: "NodePort" + + # Enable Host Networking + - variable: hostNetworking + group: "Networking" + label: "Enable Host Networking" + schema: + type: boolean + default: false + +## TrueCharts Specific + + - variable: appVolumeMounts + label: "app storage" + group: "Storage" + schema: + type: dict + attrs: + - variable: config + label: "config dataset" + schema: + type: dict + $ref: + - "normalize/ixVolume" + attrs: + - variable: enabled + label: "Enabled" + schema: + type: boolean + default: true + required: true + hidden: true + editable: false + - variable: setPermissions + label: "Automatic Permissions" + description: "Automatically set permissions on install" + schema: + type: boolean + default: true + hidden: false + - variable: emptyDir + label: "emptyDir" + schema: + type: boolean + default: false + hidden: true + editable: false + - variable: datasetName + label: "Dataset Name" + schema: + type: string + default: "config" + required: true + editable: false + - variable: mountPath + label: "Mount Path" + description: "Path to mount inside the pod" + schema: + type: path + required: true + default: "/unifi" + editable: false + - variable: hostPathEnabled + label: "host Path Enabled" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostPath + label: "Host Path" + schema: + type: hostpath + required: true + + + - variable: appIngress + label: "" + group: "Ingress" + schema: + type: dict + attrs: + - variable: webui + label: "Web Ingress Configuration" + group: "Ingress" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable Web Ingress" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: entrypoint + label: "Select Entrypoint" + schema: + type: string + default: "websecure" + required: true + enum: + - value: "websecure" + description: "Websecure: HTTPS/TLS port 443" + - variable: hosts + label: "Hosts" + schema: + type: list + default: [] + items: + - variable: host + label: "Host" + schema: + type: dict + attrs: + - variable: host + label: "Domain Name" + required: true + schema: + type: string + - variable: paths + label: "paths" + schema: + type: list + default: [] + items: + - variable: path + label: "Path" + schema: + type: dict + attrs: + - variable: path + label: "path" + schema: + type: string + required: true + default: "/" + - variable: pathType + label: "pathType" + schema: + type: string + required: true + default: "prefix" + - variable: certType + label: "Select Certificate Type" + schema: + type: string + default: "letsencrypt-prod" + enum: + - value: "" + description: "No Encryption/TLS/Certificates" + - value: "letsencrypt-prod" + description: "Letsencrypt Production Certificates" + - value: "letsencrypt-staging" + description: "Letsencrypt Test Certificates" + - value: "wildcard" + description: "Global Wildcard Certificate" + - value: "selfsigned" + description: "Self-Signed Certificate" + - value: "existingcert" + description: "Existing Certificate" + show_subquestions_if: "existingcert" + subquestions: + - variable: existingcert + label: "Existing Certificate Name" + schema: + type: string + default: "" + - variable: authForwardURL + label: "Forward Authentication URL" + schema: + type: string + default: "" + - variable: tcp + label: "TCP Ingress Configuration" + group: "Ingress" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable TCP Ingress" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + label: "Select Ingress Type" + schema: + type: string + default: "TCP" + required: true + editable: false + enum: + - value: "TCP" + description: "Plain TCP Connections" + - variable: entrypoint + label: "Select Entrypoint" + schema: + type: string + default: "unificom" + required: true + enum: + - value: "unificom" + description: "Unifi Communications TCP: port 8080" + - variable: certType + label: "Select Certificate Type" + schema: + editable: false + type: string + default: "" + enum: + - value: "" + description: "No Encryption/TLS/Certificates" + - variable: udp + label: "UDP Ingress Configuration" + group: "Ingress" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable UDP Ingress" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + label: "Select Ingress Type" + schema: + type: string + default: "UDP" + required: true + editable: false + enum: + - value: "UDP" + description: "Plain UDP Connections" + - variable: entrypoint + label: "Select Entrypoint" + schema: + type: string + default: "stun-udp" + required: true + enum: + - value: "stun-udp" + description: "STUN UDP: port 3478" diff --git a/charts/unifi/1.0.0/templates/common.yaml b/charts/unifi/1.0.0/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/unifi/1.0.0/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/unifi/1.0.0/test_values.yaml b/charts/unifi/1.0.0/test_values.yaml new file mode 100644 index 00000000000..f743bc29fcd --- /dev/null +++ b/charts/unifi/1.0.0/test_values.yaml @@ -0,0 +1,51 @@ +# Default values for Unifi. + +image: + repository: jacobalberty/unifi + tag: stable-6 + pullPolicy: IfNotPresent + +strategy: + type: Recreate + +service: + port: + port: 8443 + +env: {} + # TZ: + # PUID: + # PGID: + +persistence: + config: + enabled: false + emptyDir: false + +appIngressEnabled: false + +appAdditionalServicesEnabled: true +appAdditionalServices: + tcp: + enabled: true + type: ClusterIP + port: + port: 8080 + name: unificom + protocol: TCP + targetPort: 8080 + udp: + enabled: true + type: ClusterIP + port: + port: 3478 + name: unifistun + protocol: UDP + targetPort: 3478 + +appVolumeMounts: + config: + enabled: true + emptyDir: true + setPermissions: true + mountPath: "/unifi" diff --git a/charts/unifi/1.0.0/values.yaml b/charts/unifi/1.0.0/values.yaml new file mode 100644 index 00000000000..349888bc217 --- /dev/null +++ b/charts/unifi/1.0.0/values.yaml @@ -0,0 +1,44 @@ +# Default values for Unifi. + +image: + repository: jacobalberty/unifi + tag: stable-6 + pullPolicy: IfNotPresent + +strategy: + type: Recreate + +service: + port: + port: 8443 + +env: {} + # TZ: + # PUID: + # PGID: + +persistence: + config: + enabled: false + emptyDir: false + +appIngressEnabled: true + +appAdditionalServicesEnabled: true +appAdditionalServices: + tcp: + enabled: true + type: ClusterIP + port: + port: 8080 + name: unificom + protocol: TCP + targetPort: 8080 + udp: + enabled: true + type: ClusterIP + port: + port: 3478 + name: stun-udp + protocol: UDP + targetPort: 3478 diff --git a/charts/unifi/item.yaml b/charts/unifi/item.yaml new file mode 100644 index 00000000000..288785c11dd --- /dev/null +++ b/charts/unifi/item.yaml @@ -0,0 +1,3 @@ +categories: + - Networking +icon_url: https://dl.ubnt.com/press/logo-UniFi.png