diff --git a/bitnami/nginx-ingress-controller/Chart.yaml b/bitnami/nginx-ingress-controller/Chart.yaml index aea84367292f35..29fdb20c9f6c44 100644 --- a/bitnami/nginx-ingress-controller/Chart.yaml +++ b/bitnami/nginx-ingress-controller/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: nginx-ingress-controller -version: 5.3.9 +version: 5.3.10 appVersion: 0.30.0 description: Chart for the nginx Ingress controller keywords: diff --git a/bitnami/nginx-ingress-controller/templates/controller-service.yaml b/bitnami/nginx-ingress-controller/templates/controller-service.yaml index a26b76255bccf6..fe5f80ff849c1d 100644 --- a/bitnami/nginx-ingress-controller/templates/controller-service.yaml +++ b/bitnami/nginx-ingress-controller/templates/controller-service.yaml @@ -56,7 +56,7 @@ spec: targetPort: {{ $key }}-tcp {{- if and (or (eq $.Values.service.type "NodePort") (eq $.Values.service.type "LoadBalancer")) (index $.Values.service.nodePorts.tcp $key) }} nodePort: {{ index $.Values.service.nodePorts.tcp $key }} - {{- else if eq .Values.service.type "ClusterIP" }} + {{- else if eq $.Values.service.type "ClusterIP" }} nodePort: null {{- end }} {{- end }} @@ -67,7 +67,7 @@ spec: targetPort: {{ $key }}-udp {{- if and (or (eq $.Values.service.type "NodePort") (eq $.Values.service.type "LoadBalancer")) (index $.Values.service.nodePorts.udp $key) }} nodePort: {{ index $.Values.service.nodePorts.udp $key }} - {{- else if eq .Values.service.type "ClusterIP" }} + {{- else if eq $.Values.service.type "ClusterIP" }} nodePort: null {{- end }} {{- end }}