| #{{ if not .Values.disablePolicyDrools }} |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: policy-dep-drools-settings-configmap |
| namespace: {{ .Values.nsPrefix }}-policy |
| data: |
| {{ (.Files.Glob "resources/config/drools/settings.xml").AsConfig | indent 2 }} |
| #{{ end }} |
| --- |
| #{{ if not .Values.disablePolicyPdp }} |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: policy-dep-pe-configmap |
| namespace: {{ .Values.nsPrefix }}-policy |
| data: |
| {{ (.Files.Glob "resources/config/opt/policy/config/pe/*").AsConfig | indent 2 }} |
| #{{ end }} |