blob: d59ba617fa3d4079a6fd3f4d6c21277a0fcecaa9 [file] [log] [blame]
vaibhav_16dec8de39a72018-01-17 12:22:52 +00001#{{ if not .Values.disablePolicyDrools }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 name: policy-dep-drools-settings-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: {{ .Values.nsPrefix }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +00007data:
BorislavG8bfc6cf2018-02-27 15:04:26 +00008{{ tpl (.Files.Glob "resources/config/drools/settings.xml").AsConfig . | indent 2 }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +00009#{{ end }}
10---
11#{{ if not .Values.disablePolicyPdp }}
12apiVersion: v1
13kind: ConfigMap
14metadata:
15 name: policy-dep-pe-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000016 namespace: {{ .Values.nsPrefix }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000017data:
BorislavG8bfc6cf2018-02-27 15:04:26 +000018{{ tpl (.Files.Glob "resources/config/opt/policy/config/pe/*").AsConfig . | indent 2 }}
19---
20apiVersion: v1
21kind: ConfigMap
22metadata:
23 name: policy-dep-drools-configmap
24 namespace: {{ .Values.nsPrefix }}
25data:
26{{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsConfig . | indent 2 }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000027#{{ end }}