blob: 57822135b2803fd6aebe18a3bdc69cd742fe287b [file] [log] [blame]
mayankg2703955077e2018-02-05 11:00:25 +00001#{{ if not .Values.disableAaiDataRouter }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 name: data-router-prop-configmap
6 namespace: {{ .Values.nsPrefix }}-aai
7data:
8{{ tpl (.Files.Glob "resources/config/data-router/appconfig/data-router.properties").AsConfig . | indent 2 }}
9---
10apiVersion: v1
11kind: ConfigMap
12metadata:
13 name: data-router-model-v8-configmap
14 namespace: {{ .Values.nsPrefix }}-aai
15data:
16{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v8.xml").AsConfig . | indent 2 }}
17---
18apiVersion: v1
19kind: ConfigMap
20metadata:
21 name: data-router-model-v9-configmap
22 namespace: {{ .Values.nsPrefix }}-aai
23data:
24{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v9.xml").AsConfig . | indent 2 }}
25---
26apiVersion: v1
27kind: ConfigMap
28metadata:
29 name: data-router-model-v10-configmap
30 namespace: {{ .Values.nsPrefix }}-aai
31data:
32{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v10.xml").AsConfig . | indent 2 }}
33---
34apiVersion: v1
35kind: ConfigMap
36metadata:
37 name: data-router-model-v11-configmap
38 namespace: {{ .Values.nsPrefix }}-aai
39data:
40{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v11.xml").AsConfig . | indent 2 }}
41---
42apiVersion: v1
43kind: Secret
44metadata:
45 name: data-router-secret
46 namespace: {{ .Values.nsPrefix }}-aai
47type: Opaque
48data:
49{{ tpl (.Files.Glob "resources/config/data-router/appconfig/auth/*").AsSecrets . | indent 2 }}
50---
51apiVersion: v1
52kind: ConfigMap
53metadata:
54 name: data-router-dynamic-configmap
55 namespace: {{ .Values.nsPrefix }}-aai
56data:
57{{ tpl (.Files.Glob "resources/config/data-router/dynamic/routes/entity-event.route").AsConfig . | indent 2 }}
58{{ tpl (.Files.Glob "resources/config/data-router/dynamic/conf/entity-event-policy.xml").AsConfig . | indent 2 }}
59#{{ end }}