Merge "update log helm chart from 2 to 3.0.0"
[oom.git] / kubernetes / multicloud / charts / multicloud-windriver / templates / service.yaml
index dd3bd42..d8c0196 100644 (file)
@@ -1,5 +1,6 @@
 {{/*
 # Copyright © 2017 Amdocs, Bell Canada
+# Modifications Copyright © 2018 AT&T
 # #
 # # Licensed under the Apache License, Version 2.0 (the "License");
 # # you may not use this file except in compliance with the License.
@@ -39,13 +40,13 @@ metadata:
 spec:
   ports:
   {{ if eq .Values.service.type "NodePort" }}
-  - name: {{ .Values.service.name }}
+  - name: http-{{ .Values.service.name }}
     port: {{ .Values.service.externalPort }}
     nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
   {{ else }}
   - port: {{ .Values.service.externalPort }}
     targetPort: {{ .Values.service.internalPort }}
-    name: {{ .Values.service.name }}
+    name: http-{{ .Values.service.name }}
   {{ end }}
   selector:
     app: {{ include "common.name" . }}