diff options
author | Huabing Zhao <zhaohuabing@gmail.com> | 2018-07-30 07:35:08 +0000 |
---|---|---|
committer | Huabing Zhao <zhaohuabing@gmail.com> | 2018-07-30 07:36:28 +0000 |
commit | d0379b11e1fb3f1734b8f0e119d780dec50e7718 (patch) | |
tree | aee91aba2e986d10b39f4c28f0272f1816302a8c /kubernetes/msb/charts/msb-consul/templates | |
parent | 81b8976007acce829ac5d4419319c35d4dbdadf1 (diff) |
Add protocol prefix to port names
Protocol prefix needs to be added to prot name in order to leverage the Istio features.
Issue-ID: MSB-226
Change-Id: I670d6abbb2321b25aa30166b7d5415acaaf3e971
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'kubernetes/msb/charts/msb-consul/templates')
-rw-r--r-- | kubernetes/msb/charts/msb-consul/templates/service.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/msb/charts/msb-consul/templates/service.yaml b/kubernetes/msb/charts/msb-consul/templates/service.yaml index 86442a2740..9a7029d21f 100644 --- a/kubernetes/msb/charts/msb-consul/templates/service.yaml +++ b/kubernetes/msb/charts/msb-consul/templates/service.yaml @@ -15,11 +15,11 @@ spec: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.externalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - name: {{ .Values.service.name }} + name: http-{{ .Values.service.name }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} - name: {{ .Values.service.name }} + name: http-{{ .Values.service.name }} {{- end}} selector: app: {{ include "common.name" . }} |