mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +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
|
appVersion: 5.14.23
|
||||||
description: Ubiquiti Network's Unifi Controller
|
description: Ubiquiti Network's Unifi Controller
|
||||||
name: unifi
|
name: unifi
|
||||||
version: 1.3.1
|
version: 1.4.0
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -34,6 +34,10 @@ spec:
|
|||||||
- path: {{ $ingressPath }}
|
- path: {{ $ingressPath }}
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ $fullName }}-captiveportalservice
|
serviceName: {{ $fullName }}-captiveportalservice
|
||||||
|
{{- if .Values.captivePortalService.https }}
|
||||||
|
servicePort: captive-https
|
||||||
|
{{- else }}
|
||||||
servicePort: captive-http
|
servicePort: captive-http
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user