summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/drools/templates
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-05-14 17:59:36 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-05-16 08:33:30 -0500
commit59ce22ddfd867629eed557a32e9e8b880a4725a9 (patch)
tree9c19cc1d1e96599f79e0cc34586358642da7a4e1 /kubernetes/policy/charts/drools/templates
parentc26a0d4c85f60e185141dbb86bae631406d34036 (diff)
Disable external ports and update versions
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'kubernetes/policy/charts/drools/templates')
-rw-r--r--kubernetes/policy/charts/drools/templates/service.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/drools/templates/service.yaml b/kubernetes/policy/charts/drools/templates/service.yaml
index 221063bd82..8a170070b3 100644
--- a/kubernetes/policy/charts/drools/templates/service.yaml
+++ b/kubernetes/policy/charts/drools/templates/service.yaml
@@ -1,5 +1,5 @@
# Copyright © 2017 Amdocs, Bell Canada
-# Modifications Copyright © 2018 AT&T
+# Modifications Copyright © 2018-2019 AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -36,7 +36,10 @@ spec:
{{- else -}}
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.portName }}
+ name: {{ .Values.service.portName }}-{{ .Values.service.externalPort }}
+ - port: {{ .Values.service.externalPort2 }}
+ targetPort: {{ .Values.service.internalPort2 }}
+ name: {{ .Values.service.portName }}-{{ .Values.service.externalPort2 }}
{{- end}}
selector:
app: {{ include "common.name" . }}