summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authordgermain <daniel.germain@cgi.com>2018-11-07 09:30:25 -0500
committerdgermain <daniel.germain@cgi.com>2018-11-07 10:31:47 -0500
commit135f4119a4cdd2f24dd6212227755cade6a59e23 (patch)
treeaa99d8f341512e598721b0ea8ece14f42bf49bb5 /kubernetes
parent307fdc7ba74c535cc0b9f15b530ff621c70c948c (diff)
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 <daniel.germain@cgi.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/policy/charts/drools/templates/service.yaml4
1 files changed, 2 insertions, 2 deletions
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: