[omada-controller] - Add chart (#588)

This commit is contained in:
charlie-haley 2021-02-15 20:47:16 +00:00 committed by GitHub
parent 951cdba374
commit bb810f947a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 129 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

View File

@ -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.

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1 @@
{{ include "common.all" . }}

View File

@ -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