aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-02-15 22:52:04 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-15 22:52:04 +0000
commit89311fbd8e01c8a414a6e13a5664f5f99f7d2f0b (patch)
treeee56b7f1bd83f42b2f97145921d709fb105170c0
parent12d6c4037b79a8d1a301d0e7b72b6532224730d0 (diff)
parentfc55fd5b5bc7173d9cfd84a7c41f5b70020610e1 (diff)
Merge "[COMMON] Fix problem with useNodePortExt"
-rw-r--r--kubernetes/common/common/templates/_service.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/common/templates/_service.tpl b/kubernetes/common/common/templates/_service.tpl
index dddd63491d..9c3010c209 100644
--- a/kubernetes/common/common/templates/_service.tpl
+++ b/kubernetes/common/common/templates/_service.tpl
@@ -128,7 +128,7 @@ labels: {{- include "common.labels" (dict "labels" $labels "dot" $dot) | nindent
name: {{ $port.name }}
{{- end }}
{{- if (eq $serviceType "NodePort") }}
- nodePort: {{ include "common.nodePortPrefix" (dict "dot" $dot "portNodePortExt" $port.useNodePortExt) }}{{ $port.nodePort }}
+ nodePort: {{ include "common.nodePortPrefix" (dict "dot" $dot "useNodePortExt" $port.useNodePortExt) }}{{ $port.nodePort }}
{{- end }}
{{- else }}
- port: {{ default $port.port $port.plain_port }}