diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-09-02 11:58:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-02 11:58:36 +0000 |
commit | eb2cc949f936aae25dfbf84a40a4993affad42e7 (patch) | |
tree | 0b05b74daaf18f61bce7b0b63ba6a6cdae71b9b4 /kubernetes/clamp | |
parent | f94462392db73b21896c94cde16070dbd650cfbb (diff) | |
parent | c061516161a61be20b08cb33f4dee435707b8825 (diff) |
Merge "Use nodePortPrefix variable in CLAMP-mariadb service template"
Diffstat (limited to 'kubernetes/clamp')
-rw-r--r-- | kubernetes/clamp/charts/mariadb/templates/service.yaml | 2 |
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 }} |