From 135f4119a4cdd2f24dd6212227755cade6a59e23 Mon Sep 17 00:00:00 2001 From: dgermain Date: Wed, 7 Nov 2018 09:30:25 -0500 Subject: Fix bad port variables in helm drools chart. Fix bad port variables in helm drools chart template if not NodePort Change-Id: I7b4aac5c7a9619115b2cc8fec4c022d53e1babbe Issue-ID: POLICY-1253 Signed-off-by: dgermain --- kubernetes/policy/charts/drools/templates/service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/policy/charts/drools/templates/service.yaml b/kubernetes/policy/charts/drools/templates/service.yaml index 84eedd1bc6..221063bd82 100644 --- a/kubernetes/policy/charts/drools/templates/service.yaml +++ b/kubernetes/policy/charts/drools/templates/service.yaml @@ -34,8 +34,8 @@ spec: nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }} name: {{ .Values.service.portName }}-{{ .Values.service.externalPort2 }} {{- else -}} - - port: {{ .Values.service.type.externalPort }} - targetPort: {{ .Values.service.type.internalPort }} + - port: {{ .Values.service.externalPort }} + targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} {{- end}} selector: -- cgit 1.2.3-korg