mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
syncronizing with helm chart PR
This commit is contained in:
parent
7fe21f8acf
commit
9a1f166b99
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 5.8.24
|
||||
description: Ubiqiti Network's Unifi Controller
|
||||
name: unifi
|
||||
version: 0.1.10
|
||||
version: 0.1.13
|
||||
keywords:
|
||||
- ubiqiti
|
||||
- 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
|
||||
sources:
|
||||
- https://github.com/jacobalberty/unifi-docker
|
||||
- https://github.com/billimek/billimek-charts
|
||||
- https://github.com/kubernetes/charts/stable/unifi
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
@ -5,8 +5,7 @@ This is a helm chart for [Ubiqiti Network's](https://www.ubnt.com/) [Unifi Contr
|
||||
## TL;DR;
|
||||
|
||||
```console
|
||||
$ helm repo add billimek https://raw.githubusercontent.com/billimek/helm-repo/master
|
||||
$ helm install billimek/unifi
|
||||
$ helm install stable/unifi
|
||||
```
|
||||
|
||||
## 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`:
|
||||
|
||||
```console
|
||||
$ helm install --name my-release billimek/unifi
|
||||
$ helm install --name my-release stable/unifi
|
||||
```
|
||||
## 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.statdb_uri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
|
||||
| `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.existingClaim`| Use an existing PVC to persist data | `nil` |
|
||||
| `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
|
||||
helm install --name my-release \
|
||||
--set config.digitalocean.token=thisismyapikey \
|
||||
billimek/unifi
|
||||
--set timezone="America/New York" \
|
||||
stable/unifi
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
|
||||
```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.
|
||||
|
@ -24,7 +24,7 @@ spec:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: https
|
||||
- name: gui
|
||||
containerPort: {{ .Values.guiService.port }}
|
||||
protocol: TCP
|
||||
- name: controller
|
||||
@ -36,14 +36,18 @@ spec:
|
||||
- name: stun
|
||||
containerPort: {{ .Values.stunService.port }}
|
||||
protocol: UDP
|
||||
# livenessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# readinessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /status
|
||||
port: gui
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 30
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /status
|
||||
port: gui
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 15
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.timezone }}"
|
||||
|
@ -102,7 +102,7 @@ mongodb:
|
||||
database_name: unifi
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
enabled: true
|
||||
## unifi data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
|
Loading…
Reference in New Issue
Block a user