summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-cdt/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/appc/charts/appc-cdt/templates/service.yaml')
-rw-r--r--kubernetes/appc/charts/appc-cdt/templates/service.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/appc/charts/appc-cdt/templates/service.yaml b/kubernetes/appc/charts/appc-cdt/templates/service.yaml
index 735e0f510a..3e0b8894c6 100644
--- a/kubernetes/appc/charts/appc-cdt/templates/service.yaml
+++ b/kubernetes/appc/charts/appc-cdt/templates/service.yaml
@@ -28,6 +28,7 @@ spec:
ports:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.externalPort }}
+ targetPort: {{ .Values.service.internalPort }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
name: {{ .Values.service.name }}
{{- else -}}