diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-07-11 11:20:49 +0200 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-07-11 11:21:13 +0200 |
commit | 278722ddcbc260179c7bc2a4394141ae9731541f (patch) | |
tree | 60ada2802d550a5f6468a6c51122e4f4d066d32e /kubernetes/portal | |
parent | 6278d97b0236a530c25959760796599b713028ef (diff) |
Use nodePortPrefix variable in PORTAL-zookeeper chart
Issue-ID: PORTAL-333
Change-Id: I3f2e88487fdb80ff7b0f1c4a0ebbbd2ccf2a49d4
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'kubernetes/portal')
-rw-r--r-- | kubernetes/portal/charts/portal-zookeeper/templates/service.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/portal/charts/portal-zookeeper/templates/service.yaml b/kubernetes/portal/charts/portal-zookeeper/templates/service.yaml index 4580e569b6..5ef05c94c8 100644 --- a/kubernetes/portal/charts/portal-zookeeper/templates/service.yaml +++ b/kubernetes/portal/charts/portal-zookeeper/templates/service.yaml @@ -28,7 +28,7 @@ spec: ports: {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.internalPort }} - nodePort: {{ .Values.global.nodePortPrefix | default "302" }}{{ .Values.service.externalPort }} + nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.externalPort }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} |