mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/nginx-ingress-controller] Fix variable scope in tcp and/or udp (#2079)
* fix scoping variables in node port tcp and udp in controller-service.yaml * bump version
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user