vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 1 | #{{ if not .Values.disablePolicyDrools }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: policy-dep-drools-settings-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: {{ .Values.nsPrefix }} |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 7 | data: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 8 | {{ tpl (.Files.Glob "resources/config/drools/settings.xml").AsConfig . | indent 2 }} |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 9 | #{{ end }} |
| 10 | --- |
| 11 | #{{ if not .Values.disablePolicyPdp }} |
| 12 | apiVersion: v1 |
| 13 | kind: ConfigMap |
| 14 | metadata: |
| 15 | name: policy-dep-pe-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 16 | namespace: {{ .Values.nsPrefix }} |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 17 | data: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 18 | {{ tpl (.Files.Glob "resources/config/opt/policy/config/pe/*").AsConfig . | indent 2 }} |
| 19 | --- |
| 20 | apiVersion: v1 |
| 21 | kind: ConfigMap |
| 22 | metadata: |
| 23 | name: policy-dep-drools-configmap |
| 24 | namespace: {{ .Values.nsPrefix }} |
| 25 | data: |
| 26 | {{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsConfig . | indent 2 }} |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 27 | #{{ end }} |