diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-07-15 11:46:49 +0200 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-07-15 11:47:58 +0200 |
commit | a0e80e8e04f3bcbc4cae4a87a34059ee897b09e1 (patch) | |
tree | 49f873c0bb6109cbf2d9835b659972154c7ba565 /kubernetes/vnfsdk | |
parent | f25fb107931c37beb5d51f35501d0f8f2c01127d (diff) |
Use nodePortPrefix variable in VNFSDK service template
Issue-ID: VNFSDK-283
Change-Id: I3e84891ed2faaccb50c5d07f0ad620634a091c0d
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'kubernetes/vnfsdk')
-rw-r--r-- | kubernetes/vnfsdk/templates/service.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/vnfsdk/templates/service.yaml b/kubernetes/vnfsdk/templates/service.yaml index f6208cf965..c683d4ce8b 100644 --- a/kubernetes/vnfsdk/templates/service.yaml +++ b/kubernetes/vnfsdk/templates/service.yaml @@ -27,7 +27,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 }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} |