blob: 9998b2c320eabc2c6654abb3346e43f8ddd83415 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
vaibhav_16dec8de39a72018-01-17 12:22:52 +000015#{{ if not .Values.disablePolicyDrools }}
16apiVersion: v1
17kind: ConfigMap
18metadata:
19 name: policy-dep-drools-settings-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 namespace: {{ .Values.nsPrefix }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000021data:
BorislavG8bfc6cf2018-02-27 15:04:26 +000022{{ tpl (.Files.Glob "resources/config/drools/settings.xml").AsConfig . | indent 2 }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000023#{{ end }}
24---
25#{{ if not .Values.disablePolicyPdp }}
26apiVersion: v1
27kind: ConfigMap
28metadata:
29 name: policy-dep-pe-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000030 namespace: {{ .Values.nsPrefix }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000031data:
BorislavG8bfc6cf2018-02-27 15:04:26 +000032{{ tpl (.Files.Glob "resources/config/opt/policy/config/pe/*").AsConfig . | indent 2 }}
33---
34apiVersion: v1
35kind: ConfigMap
36metadata:
37 name: policy-dep-drools-configmap
38 namespace: {{ .Values.nsPrefix }}
39data:
40{{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsConfig . | indent 2 }}
vaibhav_16dec8de39a72018-01-17 12:22:52 +000041#{{ end }}