Fix node port service not allowing multiple forwarding ports without name

This commit is contained in:
Waqar Ahmed 2020-11-05 14:42:26 +05:00
parent 33e4cdab2c
commit 937a26e43b
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ spec:
targetPort: {{ $config.containerPort }}
protocol: {{ $config.protocol }}
nodePort: {{ $config.nodePort }}
name: ix-{{ $.Release.Name }}-{{ $config.nodePort }}-{{ $index }}
{{- end }}
selector:
{{- include "ix-chart.selectorLabels" . | nindent 4 }}