浏览代码

Fix node port service not allowing multiple forwarding ports without name

Waqar Ahmed 4 年之前
父节点
当前提交
937a26e43b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/ix-chart/2010.0.2/templates/service.yaml

+ 1 - 0
test/ix-chart/2010.0.2/templates/service.yaml

@@ -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 }}