From 158674fc4545584d3b6a9e61477b2cf510604902 Mon Sep 17 00:00:00 2001 From: Marco Kilchhofer Date: Sat, 21 Nov 2020 21:36:48 +0100 Subject: [PATCH] [unifi] Fix speedtest container port (#186) --- charts/unifi/Chart.yaml | 2 +- charts/unifi/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/unifi/Chart.yaml b/charts/unifi/Chart.yaml index 2107f351..70925181 100644 --- a/charts/unifi/Chart.yaml +++ b/charts/unifi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 5.14.23 description: Ubiquiti Network's Unifi Controller name: unifi -version: 1.3.0 +version: 1.3.1 keywords: - ubiquiti - unifi diff --git a/charts/unifi/templates/deployment.yaml b/charts/unifi/templates/deployment.yaml index 4b2a1a15..35855dc2 100644 --- a/charts/unifi/templates/deployment.yaml +++ b/charts/unifi/templates/deployment.yaml @@ -68,17 +68,17 @@ spec: - name: syslog containerPort: 5514 protocol: UDP - {{ if .Values.captivePortalService.enabled }} + {{- if .Values.captivePortalService.enabled }} - name: captive-http containerPort: 8880 protocol: TCP - name: captive-https containerPort: 8843 protocol: TCP + {{- end }} - name: speedtest containerPort: 6789 protocol: TCP - {{ end }} {{- if not .Values.runAsRoot }} securityContext: capabilities: