From 7bbb26203ad08c7e41ec0dae46627c89823bff21 Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Mon, 24 Sep 2018 10:10:40 +0100 Subject: [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 --- kubernetes/aai/charts/aai-gizmo/templates/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/aai/charts/aai-gizmo/templates') 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 }} -- cgit 1.2.3-korg