From c061516161a61be20b08cb33f4dee435707b8825 Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Wed, 17 Jul 2019 13:33:54 +0200
Subject: Use nodePortPrefix variable in CLAMP-mariadb service template
Issue-ID: OOM-1272
Change-Id: I5aaaf20a2bf53134ec18943ada701383ec37ab9e
Signed-off-by: Pawel Wieczorek
---
kubernetes/clamp/charts/mariadb/templates/service.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'kubernetes/clamp/charts')
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 }}
--
cgit 1.2.3-korg