mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
Added conditional, if https svc for captive portal defined, default to https svc (#540)
This commit is contained in:
parent
3d64b1c07a
commit
cef461b7f2
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user