summaryrefslogtreecommitdiffstats
path: root/charts/aaf-sms/templates
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-14 17:38:23 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-14 17:40:46 +0200
commit54d16145bc0d5704d1bbc95089f0d86904ef600d (patch)
tree713796c060a0a72d02c053285d138d457bf45e02 /charts/aaf-sms/templates
parent110a99fe302d641cf335232d97caa25b790b101e (diff)
Use nodePortPrefix variable in AAF (aaf-sms) charts
Issue-ID: AAF-383 Change-Id: I3e2591ca73c8ba559fd39aa1250471b15d1189d2 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'charts/aaf-sms/templates')
-rw-r--r--charts/aaf-sms/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
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 }}