summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/charts/portal-mariadb/templates
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-10 17:15:25 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-10 17:17:51 +0200
commite5d89644294a04350d7bccc4a493ac99e80f0ce9 (patch)
tree81d4377053a105361b8e702f5b1c15d357f0076f /kubernetes/portal/charts/portal-mariadb/templates
parent1b9848822827bcf68f5573ab2b664b8c73ef0f7b (diff)
Use nodePortPrefix variable in PORTAL-mariadb chart
Issue-ID: PORTAL-333 Change-Id: I59a6730cff06c2849864f6f208e971cef2c2e846 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'kubernetes/portal/charts/portal-mariadb/templates')
-rw-r--r--kubernetes/portal/charts/portal-mariadb/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/portal/charts/portal-mariadb/templates/service.yaml b/kubernetes/portal/charts/portal-mariadb/templates/service.yaml
index 4580e569b6..5ef05c94c8 100644
--- a/kubernetes/portal/charts/portal-mariadb/templates/service.yaml
+++ b/kubernetes/portal/charts/portal-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.externalPort }}
+ nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.externalPort }}
{{- else -}}
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}