diff --git a/charts/unifi/Chart.yaml b/charts/unifi/Chart.yaml index 70925181..dfcc4c12 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.1 +version: 1.4.0 keywords: - ubiquiti - unifi diff --git a/charts/unifi/templates/captive-ingress.yaml b/charts/unifi/templates/captive-ingress.yaml index fda55d57..e960bc32 100644 --- a/charts/unifi/templates/captive-ingress.yaml +++ b/charts/unifi/templates/captive-ingress.yaml @@ -34,6 +34,10 @@ spec: - path: {{ $ingressPath }} backend: serviceName: {{ $fullName }}-captiveportalservice + {{- if .Values.captivePortalService.https }} + servicePort: captive-https + {{- else }} servicePort: captive-http + {{- end }} {{- end }} {{- end }}