From ae28dc9e6e15b6c2cfaeb9f10dc67c408d87618a Mon Sep 17 00:00:00 2001 From: Andrea Beggiato Date: Wed, 18 Mar 2020 13:58:27 +0100 Subject: [PATCH 1/2] fix scoping variables in node port tcp and udp in controller-service.yaml --- .../templates/controller-service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }} From 66641a94de57487f0880a13885fd3b869b4bbd6a Mon Sep 17 00:00:00 2001 From: Andrea Beggiato Date: Wed, 18 Mar 2020 14:02:24 +0100 Subject: [PATCH 2/2] bump version --- bitnami/nginx-ingress-controller/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: