summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-17 13:33:54 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-17 13:34:00 +0200
commitc061516161a61be20b08cb33f4dee435707b8825 (patch)
treefdb53952d609d5bac17adbab3a665b001da99e37
parent38f74ca0461931a1f1d5fefd0dd91900c57a81ee (diff)
Use nodePortPrefix variable in CLAMP-mariadb service template
Issue-ID: OOM-1272 Change-Id: I5aaaf20a2bf53134ec18943ada701383ec37ab9e Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
-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 }}