summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/policy-deployment-configmap.yaml
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-01-17 12:22:52 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-01-25 09:55:54 +0000
commit8de39a774d0e58e70fa5bde7fd1ecc158db1453f (patch)
treeb4e471ac722f4decbeb4dee2b4817ec2cd487abd /kubernetes/policy/templates/policy-deployment-configmap.yaml
parenteea1d3ec1680d1ef203840986962f6535736ae38 (diff)
Policy config segreggation
Issue-ID: OOM-553 Change-Id: I8dab41aea5b0fad1395f6deb47b2faa6f7dcbdbc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/policy/templates/policy-deployment-configmap.yaml')
-rw-r--r--kubernetes/policy/templates/policy-deployment-configmap.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/policy-deployment-configmap.yaml b/kubernetes/policy/templates/policy-deployment-configmap.yaml
new file mode 100644
index 0000000000..b1db02bd20
--- /dev/null
+++ b/kubernetes/policy/templates/policy-deployment-configmap.yaml
@@ -0,0 +1,19 @@
+#{{ 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 }}