Added conditional, if https svc for captive portal defined, default to https svc (#540)

This commit is contained in:
David Luong 2021-02-05 07:45:15 -05:00 committed by GitHub
parent 3d64b1c07a
commit cef461b7f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 }}