mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/unifi] Make web interface ports configurable (#18052)
* bump the unifi docker image to version 5.11.50 * forward port values to unifi docker environment variables Closes #18051 Signed-off-by: Per Otterström <per.otterstrom@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9a8ad6651f
commit
af2b61dce8
@@ -1,8 +1,8 @@
|
||||
apiVersion: v1
|
||||
appVersion: 5.10.19
|
||||
appVersion: 5.11.50
|
||||
description: Ubiquiti Network's Unifi Controller
|
||||
name: unifi
|
||||
version: 0.4.2
|
||||
version: 0.5.0
|
||||
keywords:
|
||||
- ubiquiti
|
||||
- unifi
|
||||
|
||||
@@ -37,7 +37,7 @@ The following tables lists the configurable parameters of the Unifi chart and th
|
||||
| Parameter | Description | Default |
|
||||
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
|
||||
| `image.repository` | Image repository | `jacobalberty/unifi` |
|
||||
| `image.tag` | Image tag. Possible values listed [here][docker]. | `5.9.29` |
|
||||
| `image.tag` | Image tag. Possible values listed [here][docker]. | `5.11.50` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `guiService.type` | Kubernetes service type for the Unifi GUI | `ClusterIP` |
|
||||
|
||||
@@ -33,10 +33,10 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: https-gui
|
||||
containerPort: 8443
|
||||
containerPort: {{ .Values.guiService.port }}
|
||||
protocol: TCP
|
||||
- name: controller
|
||||
containerPort: 8080
|
||||
containerPort: {{ .Values.controllerService.port }}
|
||||
protocol: TCP
|
||||
- name: discovery
|
||||
containerPort: 10001
|
||||
@@ -63,6 +63,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 15
|
||||
env:
|
||||
- name: UNIFI_HTTP_PORT
|
||||
value: "{{ .Values.controllerService.port }}"
|
||||
- name: UNIFI_HTTPS_PORT
|
||||
value: "{{ .Values.guiService.port }}"
|
||||
- name: TZ
|
||||
value: "{{ .Values.timezone }}"
|
||||
- name: RUNAS_UID0
|
||||
|
||||
@@ -7,7 +7,7 @@ strategyType: Recreate
|
||||
|
||||
image:
|
||||
repository: jacobalberty/unifi
|
||||
tag: 5.10.19
|
||||
tag: 5.11.50
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# If enabled, the controller, discovery, GUI, and STUN services will not be
|
||||
|
||||
Reference in New Issue
Block a user