mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
stable/unifi: Add "addSetfcap" option to give the SETFCAP capability to the Unifi container (#10143)
Signed-off-by: Mike Cronce <mike@quadra-tec.net>
This commit is contained in:
parent
d1fbb47709
commit
be82a0fccb
@ -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.2
|
version: 0.2.3
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -75,6 +75,7 @@ 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` |
|
||||||
|
| `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` |
|
||||||
| `mongodb.statDbUri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
|
| `mongodb.statDbUri` | external MongoDB statdb URI | `mongodb://mongo/unifi_stat` |
|
||||||
|
@ -42,6 +42,12 @@ spec:
|
|||||||
- name: stun
|
- name: stun
|
||||||
containerPort: 3478
|
containerPort: 3478
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
{{- if .Values.addSetfcap }}
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- SETFCAP
|
||||||
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /status
|
path: /status
|
||||||
|
@ -109,6 +109,7 @@ ingress:
|
|||||||
timezone: UTC
|
timezone: UTC
|
||||||
|
|
||||||
runAsRoot: false
|
runAsRoot: false
|
||||||
|
addSetfcap: true
|
||||||
|
|
||||||
# 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