diff --git a/stable/unifi/Chart.yaml b/stable/unifi/Chart.yaml index 2c6c66a25b..e896541a8e 100644 --- a/stable/unifi/Chart.yaml +++ b/stable/unifi/Chart.yaml @@ -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 diff --git a/stable/unifi/README.md b/stable/unifi/README.md index b9034be496..e8d982322b 100644 --- a/stable/unifi/README.md +++ b/stable/unifi/README.md @@ -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` | diff --git a/stable/unifi/templates/deployment.yaml b/stable/unifi/templates/deployment.yaml index ca84fd015c..96f1b0d66a 100644 --- a/stable/unifi/templates/deployment.yaml +++ b/stable/unifi/templates/deployment.yaml @@ -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 diff --git a/stable/unifi/values.yaml b/stable/unifi/values.yaml index 64adda2c2d..92069bcc79 100644 --- a/stable/unifi/values.yaml +++ b/stable/unifi/values.yaml @@ -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