blob: 8c2d988e66100c5029915ceac4e9f08c2be17920 [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
mayankg2703955077e2018-02-05 11:00:25 +000015#{{ if not .Values.disableAaiDataRouter }}
16apiVersion: v1
17kind: ConfigMap
18metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000019 name: aai-data-router-prop-configmap
20 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000021data:
22{{ tpl (.Files.Glob "resources/config/data-router/appconfig/data-router.properties").AsConfig . | indent 2 }}
23---
24apiVersion: v1
25kind: ConfigMap
26metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000027 name: aai-data-router-model-v8-configmap
28 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000029data:
30{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v8.xml").AsConfig . | indent 2 }}
31---
32apiVersion: v1
33kind: ConfigMap
34metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000035 name: aai-data-router-model-v9-configmap
36 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000037data:
38{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v9.xml").AsConfig . | indent 2 }}
39---
40apiVersion: v1
41kind: ConfigMap
42metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000043 name: aai-data-router-model-v10-configmap
44 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000045data:
46{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v10.xml").AsConfig . | indent 2 }}
47---
48apiVersion: v1
49kind: ConfigMap
50metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000051 name: aai-data-router-model-v11-configmap
52 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000053data:
54{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v11.xml").AsConfig . | indent 2 }}
55---
56apiVersion: v1
57kind: Secret
58metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000059 name: aai-data-router-secret
60 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000061type: Opaque
62data:
63{{ tpl (.Files.Glob "resources/config/data-router/appconfig/auth/*").AsSecrets . | indent 2 }}
64---
65apiVersion: v1
66kind: ConfigMap
67metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000068 name: aai-data-router-dynamic-configmap
69 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000070data:
71{{ tpl (.Files.Glob "resources/config/data-router/dynamic/routes/entity-event.route").AsConfig . | indent 2 }}
72{{ tpl (.Files.Glob "resources/config/data-router/dynamic/conf/entity-event-policy.xml").AsConfig . | indent 2 }}
73#{{ end }}