diff --git a/charts/omada-controller/Chart.yaml b/charts/omada-controller/Chart.yaml new file mode 100644 index 00000000..ac104805 --- /dev/null +++ b/charts/omada-controller/Chart.yaml @@ -0,0 +1,20 @@ +apiVersion: v2 +appVersion: 4.2.11 +description: Omada enables the network administrators to monitor and manage all the Omada products in the network with a centralized management platform. +name: omada-controller +version: 1.0.0 +kubeVersion: ">=1.16.0" +keywords: +- omada-controller +home: https://github.com/k8s-at-home/charts/tree/master/charts/omada-controller +icon: https://www.tp-link.com/assets/images/icon/logo-white.svg +sources: +- https://github.com/omada-controller/omada-controller-docker +- https://github.com/k8s-at-home/charts/tree/master/charts/omada-controller +maintainers: +- name: charlie-haley + email: charlie-haley@users.noreply.github.com +dependencies: +- name: common + repository: https://k8s-at-home.com/charts/ + version: 3.0.0 diff --git a/charts/omada-controller/OWNERS b/charts/omada-controller/OWNERS new file mode 100644 index 00000000..1ce35762 --- /dev/null +++ b/charts/omada-controller/OWNERS @@ -0,0 +1,8 @@ +approvers: +- billimek +- onedr0p +- bjw-s +reviewers: +- billimek +- onedr0p +- bjw-s diff --git a/charts/omada-controller/README.md b/charts/omada-controller/README.md new file mode 100644 index 00000000..c9e5e74c --- /dev/null +++ b/charts/omada-controller/README.md @@ -0,0 +1,68 @@ +# omada-controller + +This is a helm chart for [omada-controller](https://github.com/mbentley/docker-omada-controller). + +**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/omada-controller +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +helm install --name my-release k8s-at-home/omada-controller +``` + +## 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/omada-controller/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 omada-controller \ + --set env.TZ="America/New_York" \ + k8s-at-home/omada-controller +``` +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the +chart. For example, +```console +helm install omada-controller k8s-at-home/omada-controller --values values.yaml +``` + +These values will be nested as it is a dependency, for example +```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. diff --git a/charts/omada-controller/templates/NOTES.txt b/charts/omada-controller/templates/NOTES.txt new file mode 100644 index 00000000..90f7b653 --- /dev/null +++ b/charts/omada-controller/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/omada-controller/templates/common.yaml b/charts/omada-controller/templates/common.yaml new file mode 100644 index 00000000..a6613c2c --- /dev/null +++ b/charts/omada-controller/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/omada-controller/values.yaml b/charts/omada-controller/values.yaml new file mode 100644 index 00000000..225306e2 --- /dev/null +++ b/charts/omada-controller/values.yaml @@ -0,0 +1,31 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/k8s-at-home/charts/tree/master/charts/common/values.yaml +# + +image: + repository: mbentley/omada-controller + pullPolicy: IfNotPresent + tag: 4.2 + +strategy: + type: Recreate + +# See more environment variables in the omada-controller documentation +# https://github.com/mbentley/docker-omada-controller +env: {} + # TZ: + +service: + port: + port: 8043 + +ingress: + enabled: false + +persistence: + data: + enabled: false + emptyDir: false