aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/charts/mariadb/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/templates/service.yaml')
-rw-r--r--kubernetes/clamp/charts/mariadb/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/clamp/charts/mariadb/templates/service.yaml b/kubernetes/clamp/charts/mariadb/templates/service.yaml
index 581f4a0956..5d9b1910e6 100644
--- a/kubernetes/clamp/charts/mariadb/templates/service.yaml
+++ b/kubernetes/clamp/charts/mariadb/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.nodePort }}
+ nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
{{- else -}}
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}