From 829c10f509901cbbe9c822bab87bb6b382284c83 Mon Sep 17 00:00:00 2001 From: Martin Mauch Date: Wed, 27 Jan 2021 00:24:19 +0100 Subject: [PATCH] Rename port to match Istio naming conventions Istio requires the service port to be named like `[-]`. If possible, it would be good to rename it here to match this requirement. --- templates/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/service.yaml b/templates/service.yaml index 801a509..fa2d414 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -32,7 +32,7 @@ spec: ports: - port: {{ .Values.service.port }} protocol: TCP - name: {{ .Values.service.name }} + name: http-{{ .Values.service.name }} targetPort: 5000 {{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }} nodePort: {{ .Values.service.nodePort }}