summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-gizmo/templates/service.yaml
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
commit7bbb26203ad08c7e41ec0dae46627c89823bff21 (patch)
tree108e710ba4aff8ba18a5a8d01c957ee5eda4a0b7 /kubernetes/aai/charts/aai-gizmo/templates/service.yaml
parent8cc67e5cad11bae7dffcaf60312d747dd155c274 (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 'kubernetes/aai/charts/aai-gizmo/templates/service.yaml')
-rw-r--r--kubernetes/aai/charts/aai-gizmo/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-gizmo/templates/service.yaml b/kubernetes/aai/charts/aai-gizmo/templates/service.yaml
index e78cc733b0..88948cfdf5 100644
--- a/kubernetes/aai/charts/aai-gizmo/templates/service.yaml
+++ b/kubernetes/aai/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 }}