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