updating with charts repo PR

This commit is contained in:
Jeff Billimek 2018-09-11 14:29:08 +00:00
parent 9a1f166b99
commit 5d03ac9628
6 changed files with 63 additions and 57 deletions

View File

@ -19,3 +19,5 @@
.project .project
.idea/ .idea/
*.tmproj *.tmproj
# OWNERS file for Kubernetes
OWNERS

View File

@ -1,17 +1,17 @@
apiVersion: v1 apiVersion: v1
appVersion: 5.8.24 appVersion: 5.8.28
description: Ubiqiti Network's Unifi Controller description: Ubiqiti Network's Unifi Controller
name: unifi name: unifi
version: 0.1.13 version: 0.1.0
keywords: keywords:
- ubiqiti - ubiqiti
- unifi - unifi
- mongodb - mongodb
home: https://github.com/jacobalberty/unifi-docker 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/kubernetes/charts/stable/unifi - https://github.com/kubernetes/charts/stable/unifi
maintainers: maintainers:
- name: billimek - name: billimek
email: jeff@billimek.com email: jeff@billimek.com

4
unifi/OWNERS Normal file
View File

@ -0,0 +1,4 @@
approvers:
- billimek
reviewers:
- billimek

View File

@ -61,11 +61,11 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` | | `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` | | `ingress.tls` | Ingress TLS configuration | `[]` |
| `timezone` | Timezone the Unifi controller should run as, e.g. 'America/New York' | `UTC` | | `timezone` | Timezone the Unifi controller should run as, e.g. 'America/New York' | `UTC` |
| `runas_root` | Run the controller as UID0 (root user) | `false` | | `runAsRoot` | Run the controller as UID0 (root user) | `false` |
| `mongodb.enabled` | Use external MongoDB for data storage | `false` | | `mongodb.enabled` | Use external MongoDB for data storage | `false` |
| `mongodb.db_uri` | external MongoDB URI | `mongodb://mongo/unifi` | | `mongodb.dbUri` | external MongoDB URI | `mongodb://mongo/unifi` |
| `mongodb.statdb_uri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` | | `mongodb.statDbUri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
| `mongodb.database_name` | external MongoDB database name | `unifi` | | `mongodb.databaseName` | external MongoDB database name | `unifi` |
| `persistence.enabled` | Use persistent volume to store data | `true` | | `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` |

View File

@ -52,14 +52,14 @@ spec:
- name: TZ - name: TZ
value: "{{ .Values.timezone }}" value: "{{ .Values.timezone }}"
- name: RUNAS_UID0 - name: RUNAS_UID0
value: "{{ .Values.runas_root }}" value: "{{ .Values.runAsRoot }}"
{{- if .Values.mongodb.enabled }} {{- if .Values.mongodb.enabled }}
- name: DB_URI - name: DB_URI
value: "{{ .Values.mongodb.db_uri }}" value: "{{ .Values.mongodb.dbUri }}"
- name: STATDB_URI - name: STATDB_URI
value: "{{ .Values.mongodb.statdb_uri }}" value: "{{ .Values.mongodb.statDbUri }}"
- name: DB_NAME - name: DB_NAME
value: "{{ .Values.mongodb.database_name }}" value: "{{ .Values.mongodb.databaseName }}"
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- mountPath: /unifi/data - mountPath: /unifi/data

View File

@ -6,7 +6,7 @@ replicaCount: 1
image: image:
repository: jacobalberty/unifi repository: jacobalberty/unifi
tag: 5.8.24 tag: 5.8.28
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
guiService: guiService:
@ -92,14 +92,14 @@ ingress:
timezone: UTC timezone: UTC
runas_root: false runAsRoot: false
# define an external mongoDB instead of using the built-in mongodb # define an external mongoDB instead of using the built-in mongodb
mongodb: mongodb:
enabled: false enabled: false
db_uri: mongodb://mongo/unifi dbUri: mongodb://mongo/unifi
statdb_uri: mongodb://mongo/unifi_stat statDbUri: mongodb://mongo/unifi_stat
database_name: unifi databaseName: unifi
persistence: persistence:
enabled: true enabled: true