summaryrefslogtreecommitdiffstats
path: root/charts/aai-gizmo/templates
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-09-24 10:10:40 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-09-24 10:13:43 +0100
commite8543b4a4839f44f13e5ecd984e8986c4d599272 (patch)
treebbe74377636180d822f2f79d33f8f039c21fa143 /charts/aai-gizmo/templates
parent7c1a9d1035a6477297769afb09d0b3e8c3049da5 (diff)
[Gizmo] Use nodePortPrefix variable
The services.yaml file should make use of nodePortPrefix in its default nodePort declaration. Change-Id: I5ac25a6448b760ffe04f43b052bbaf5341997934 Issue-ID: AAI-1349 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'charts/aai-gizmo/templates')
-rw-r--r--charts/aai-gizmo/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/aai-gizmo/templates/service.yaml b/charts/aai-gizmo/templates/service.yaml
index e78cc73..88948cf 100644
--- a/charts/aai-gizmo/templates/service.yaml
+++ b/charts/aai-gizmo/templates/service.yaml
@@ -29,7 +29,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 }}
name: {{ .Values.service.portName }}
{{- else -}}
- port: {{ .Values.service.externalPort }}