From 54d16145bc0d5704d1bbc95089f0d86904ef600d Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Sun, 14 Jul 2019 17:38:23 +0200
Subject: Use nodePortPrefix variable in AAF (aaf-sms) charts
Issue-ID: AAF-383
Change-Id: I3e2591ca73c8ba559fd39aa1250471b15d1189d2
Signed-off-by: Pawel Wieczorek
---
charts/aaf-sms/templates/service.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'charts/aaf-sms/templates')
diff --git a/charts/aaf-sms/templates/service.yaml b/charts/aaf-sms/templates/service.yaml
index 18334a3..5e6bffb 100644
--- a/charts/aaf-sms/templates/service.yaml
+++ b/charts/aaf-sms/templates/service.yaml
@@ -28,7 +28,7 @@ spec:
- name: {{ .Values.service.PortName }}
{{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 }}
--
cgit 1.2.3-korg