aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-09-02 11:58:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-02 11:58:36 +0000
commiteb2cc949f936aae25dfbf84a40a4993affad42e7 (patch)
tree0b05b74daaf18f61bce7b0b63ba6a6cdae71b9b4 /kubernetes
parentf94462392db73b21896c94cde16070dbd650cfbb (diff)
parentc061516161a61be20b08cb33f4dee435707b8825 (diff)
Merge "Use nodePortPrefix variable in CLAMP-mariadb service template"
Diffstat (limited to 'kubernetes')
-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 }}