summaryrefslogtreecommitdiffstats
path: root/kubernetes/vnfsdk/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/vnfsdk/templates')
-rw-r--r--kubernetes/vnfsdk/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/vnfsdk/templates/service.yaml b/kubernetes/vnfsdk/templates/service.yaml
index f6208cf965..c683d4ce8b 100644
--- a/kubernetes/vnfsdk/templates/service.yaml
+++ b/kubernetes/vnfsdk/templates/service.yaml
@@ -27,7 +27,7 @@ spec:
ports:
{{if eq .Values.service.type "NodePort" -}}
- port: {{ .Values.service.internalPort }}
- nodePort: {{ .Values.global.nodePortPrefix | default "302" }}{{ .Values.service.nodePort }}
+ nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
{{- else -}}
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}