summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-deployment-configmap.yaml
blob: d59ba617fa3d4079a6fd3f4d6c21277a0fcecaa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#{{ if not .Values.disablePolicyDrools }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: policy-dep-drools-settings-configmap
  namespace: {{ .Values.nsPrefix }}
data:
{{ tpl (.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 }}
data:
{{ tpl (.Files.Glob "resources/config/opt/policy/config/pe/*").AsConfig . | indent 2 }}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: policy-dep-drools-configmap
  namespace: {{ .Values.nsPrefix }}
data:
{{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsConfig . | indent 2 }}
#{{ end }}