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: