mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
Fixed unifi chart breaking from range restriction value on captive ingress (#555)
This commit is contained in:
parent
607fb8a01d
commit
f43d3ab7e7
@ -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.4.0
|
version: 1.4.1
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
{{- $fullName := include "unifi.fullname" . -}}
|
{{- $fullName := include "unifi.fullname" . -}}
|
||||||
{{- $ingressPath := .Values.captivePortalService.ingress.path -}}
|
{{- $ingressPath := .Values.captivePortalService.ingress.path -}}
|
||||||
{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}}
|
{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}}
|
||||||
|
{{- $captivePortalHttps := .Values.captivePortalService.https -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
@ -34,7 +35,7 @@ spec:
|
|||||||
- path: {{ $ingressPath }}
|
- path: {{ $ingressPath }}
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ $fullName }}-captiveportalservice
|
serviceName: {{ $fullName }}-captiveportalservice
|
||||||
{{- if .Values.captivePortalService.https }}
|
{{- if $captivePortalHttps }}
|
||||||
servicePort: captive-https
|
servicePort: captive-https
|
||||||
{{- else }}
|
{{- else }}
|
||||||
servicePort: captive-http
|
servicePort: captive-http
|
||||||
|
Loading…
Reference in New Issue
Block a user