diff options
Diffstat (limited to 'charts/sms/templates/service.yaml')
-rw-r--r-- | charts/sms/templates/service.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/charts/sms/templates/service.yaml b/charts/sms/templates/service.yaml index 1ba8580..04e9a5a 100644 --- a/charts/sms/templates/service.yaml +++ b/charts/sms/templates/service.yaml @@ -15,7 +15,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ .Values.service.name }} + name: {{ include "common.servicename" . }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.fullname" . }} @@ -25,7 +25,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - name: {{ .Values.service.name }} + - name: {{ .Values.service.portName }} {{if eq .Values.service.type "NodePort" -}} port: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default "302" }}{{ .Values.service.nodePort }} |