diff --git a/stable/unifi/Chart.yaml b/stable/unifi/Chart.yaml index f4a93cdb4d..cc41de5401 100644 --- a/stable/unifi/Chart.yaml +++ b/stable/unifi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 5.9.29 description: Ubiquiti Network's Unifi Controller name: unifi -version: 0.3.2 +version: 0.3.3 keywords: - ubiquiti - unifi diff --git a/stable/unifi/templates/ingress.yaml b/stable/unifi/templates/ingress.yaml index 075e0470bf..6adc28dc22 100644 --- a/stable/unifi/templates/ingress.yaml +++ b/stable/unifi/templates/ingress.yaml @@ -1,6 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "unifi.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} +{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}} apiVersion: extensions/v1beta1 kind: Ingress metadata: @@ -32,7 +33,7 @@ spec: paths: - path: {{ $ingressPath }} backend: - {{- if .Values.unifiedService.enabled }} + {{- if $unifiedServiceEnabled }} serviceName: {{ $fullName }} {{- else }} serviceName: {{ $fullName }}-gui