syncronizing with helm chart PR

This commit is contained in:
Jeff Billimek 2018-08-01 23:19:40 -04:00
parent 7fe21f8acf
commit 9a1f166b99
4 changed files with 24 additions and 21 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 5.8.24 appVersion: 5.8.24
description: Ubiqiti Network's Unifi Controller description: Ubiqiti Network's Unifi Controller
name: unifi name: unifi
version: 0.1.10 version: 0.1.13
keywords: keywords:
- ubiqiti - ubiqiti
- unifi - unifi
@ -11,7 +11,7 @@ home: https://github.com/jacobalberty/unifi-docker
icon: https://blog.ubnt.com/wp-content/uploads/2016/10/unifi-app-logo.png icon: https://blog.ubnt.com/wp-content/uploads/2016/10/unifi-app-logo.png
sources: sources:
- https://github.com/jacobalberty/unifi-docker - https://github.com/jacobalberty/unifi-docker
- https://github.com/billimek/billimek-charts - https://github.com/kubernetes/charts/stable/unifi
maintainers: maintainers:
- name: billimek - name: billimek
email: jeff@billimek.com email: jeff@billimek.com

View File

@ -5,8 +5,7 @@ This is a helm chart for [Ubiqiti Network's](https://www.ubnt.com/) [Unifi Contr
## TL;DR; ## TL;DR;
```console ```console
$ helm repo add billimek https://raw.githubusercontent.com/billimek/helm-repo/master $ helm install stable/unifi
$ helm install billimek/unifi
``` ```
## Introduction ## Introduction
@ -18,7 +17,7 @@ This code is adopted from [this original repo](https://github.com/jacobalberty/u
To install the chart with the release name `my-release`: To install the chart with the release name `my-release`:
```console ```console
$ helm install --name my-release billimek/unifi $ helm install --name my-release stable/unifi
``` ```
## Uninstalling the Chart ## Uninstalling the Chart
@ -67,7 +66,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `mongodb.db_uri` | external MongoDB URI | `mongodb://mongo/unifi` | | `mongodb.db_uri` | external MongoDB URI | `mongodb://mongo/unifi` |
| `mongodb.statdb_uri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` | | `mongodb.statdb_uri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
| `mongodb.database_name` | external MongoDB database name | `unifi` | | `mongodb.database_name` | external MongoDB database name | `unifi` |
| `persistence.enabled` | Use persistent volume to store data | `false` | | `persistence.enabled` | Use persistent volume to store data | `true` |
| `persistence.size` | Size of persistent volume claim | `5Gi` | | `persistence.size` | Size of persistent volume claim | `5Gi` |
| `persistence.existingClaim`| Use an existing PVC to persist data | `nil` | | `persistence.existingClaim`| Use an existing PVC to persist data | `nil` |
| `persistence.storageClass` | Type of persistent volume claim | `-` | | `persistence.storageClass` | Type of persistent volume claim | `-` |
@ -81,14 +80,14 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
```console ```console
helm install --name my-release \ helm install --name my-release \
--set config.digitalocean.token=thisismyapikey \ --set timezone="America/New York" \
billimek/unifi stable/unifi
``` ```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
```console ```console
helm install --name my-release -f values.yaml billimek/unifi helm install --name my-release -f values.yaml stable/unifi
``` ```
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values. Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.

View File

@ -24,7 +24,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: https - name: gui
containerPort: {{ .Values.guiService.port }} containerPort: {{ .Values.guiService.port }}
protocol: TCP protocol: TCP
- name: controller - name: controller
@ -36,14 +36,18 @@ spec:
- name: stun - name: stun
containerPort: {{ .Values.stunService.port }} containerPort: {{ .Values.stunService.port }}
protocol: UDP protocol: UDP
# livenessProbe: livenessProbe:
# httpGet: httpGet:
# path: / path: /status
# port: http port: gui
# readinessProbe: scheme: HTTPS
# httpGet: initialDelaySeconds: 30
# path: / readinessProbe:
# port: http httpGet:
path: /status
port: gui
scheme: HTTPS
initialDelaySeconds: 15
env: env:
- name: TZ - name: TZ
value: "{{ .Values.timezone }}" value: "{{ .Values.timezone }}"

View File

@ -102,7 +102,7 @@ mongodb:
database_name: unifi database_name: unifi
persistence: persistence:
enabled: false enabled: true
## unifi data Persistent Volume Storage Class ## unifi data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass> ## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning ## If set to "-", storageClassName: "", which disables dynamic provisioning