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
.idea/
*.tmproj
# OWNERS file for Kubernetes
OWNERS

View File

@ -1,8 +1,8 @@
apiVersion: v1
appVersion: 5.8.24
appVersion: 5.8.28
description: Ubiqiti Network's Unifi Controller
name: unifi
version: 0.1.13
version: 0.1.0
keywords:
- ubiqiti
- unifi

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.tls` | Ingress TLS configuration | `[]` |
| `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.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` |
| `mongodb.dbUri` | external MongoDB URI | `mongodb://mongo/unifi` |
| `mongodb.statDbUri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
| `mongodb.databaseName` | external MongoDB database name | `unifi` |
| `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` |

View File

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

View File

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