summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-07-14 06:08:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-14 06:08:44 +0000
commit85a4ce200ae024713083a25db17b2a1514ee2ba5 (patch)
tree39fe4a4c7f300d28677b7aa2d7b755c5dcfb1e8e
parentc7fe2b3509ad1861f13225083d5c329eaa5e64c7 (diff)
parente5d89644294a04350d7bccc4a493ac99e80f0ce9 (diff)
Merge "Use nodePortPrefix variable in PORTAL-mariadb chart"
-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 }}