mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[stable/unifi] Add UID and GID options. (#10218)
Signed-off-by: Jacob Block <jacob.block@gmail.com>
This commit is contained in:
parent
be82a0fccb
commit
4cbe828448
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 5.9.29
|
appVersion: 5.9.29
|
||||||
description: Ubiquiti Network's Unifi Controller
|
description: Ubiquiti Network's Unifi Controller
|
||||||
name: unifi
|
name: unifi
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -75,6 +75,8 @@ The following tables lists the configurable parameters of the Sentry chart and t
|
|||||||
| `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` |
|
||||||
| `runAsRoot` | Run the controller as UID0 (root user) | `false` |
|
| `runAsRoot` | Run the controller as UID0 (root user) | `false` |
|
||||||
|
| `UID` | Run the controller as user UID | `999` |
|
||||||
|
| `GID` | Run the controller as group GID | `999` |
|
||||||
| `addSetfcap` | Give the controller container the SETFCAP capability; this is necessary when not running as root | `true` |
|
| `addSetfcap` | Give the controller container the SETFCAP capability; this is necessary when not running as root | `true` |
|
||||||
| `mongodb.enabled` | Use external MongoDB for data storage | `false` |
|
| `mongodb.enabled` | Use external MongoDB for data storage | `false` |
|
||||||
| `mongodb.dbUri` | external MongoDB URI | `mongodb://mongo/unifi` |
|
| `mongodb.dbUri` | external MongoDB URI | `mongodb://mongo/unifi` |
|
||||||
|
@ -65,6 +65,10 @@ spec:
|
|||||||
value: "{{ .Values.timezone }}"
|
value: "{{ .Values.timezone }}"
|
||||||
- name: RUNAS_UID0
|
- name: RUNAS_UID0
|
||||||
value: "{{ .Values.runAsRoot }}"
|
value: "{{ .Values.runAsRoot }}"
|
||||||
|
- name: UNIFI_UID
|
||||||
|
value: "{{ .Values.UID }}"
|
||||||
|
- name: UNIFI_GID
|
||||||
|
value: "{{ .Values.GID }}"
|
||||||
{{- if .Values.mongodb.enabled }}
|
{{- if .Values.mongodb.enabled }}
|
||||||
- name: DB_URI
|
- name: DB_URI
|
||||||
value: "{{ .Values.mongodb.dbUri }}"
|
value: "{{ .Values.mongodb.dbUri }}"
|
||||||
|
@ -110,6 +110,8 @@ timezone: UTC
|
|||||||
|
|
||||||
runAsRoot: false
|
runAsRoot: false
|
||||||
addSetfcap: true
|
addSetfcap: true
|
||||||
|
UID: 999
|
||||||
|
GID: 999
|
||||||
|
|
||||||
# define an external mongoDB instead of using the built-in mongodb
|
# define an external mongoDB instead of using the built-in mongodb
|
||||||
mongodb:
|
mongodb:
|
||||||
|
Loading…
Reference in New Issue
Block a user