blob: 3de38a740a7d946d5e61df5e389119cd50cb06b6 [file] [log] [blame]
mayankg2703955077e2018-02-05 11:00:25 +00001#{{ if not .Values.disableAaiDataRouter }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: aai-data-router-prop-configmap
6 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +00007data:
8{{ tpl (.Files.Glob "resources/config/data-router/appconfig/data-router.properties").AsConfig . | indent 2 }}
9---
10apiVersion: v1
11kind: ConfigMap
12metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000013 name: aai-data-router-model-v8-configmap
14 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000015data:
16{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v8.xml").AsConfig . | indent 2 }}
17---
18apiVersion: v1
19kind: ConfigMap
20metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000021 name: aai-data-router-model-v9-configmap
22 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000023data:
24{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v9.xml").AsConfig . | indent 2 }}
25---
26apiVersion: v1
27kind: ConfigMap
28metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000029 name: aai-data-router-model-v10-configmap
30 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000031data:
32{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v10.xml").AsConfig . | indent 2 }}
33---
34apiVersion: v1
35kind: ConfigMap
36metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 name: aai-data-router-model-v11-configmap
38 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000039data:
40{{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v11.xml").AsConfig . | indent 2 }}
41---
42apiVersion: v1
43kind: Secret
44metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000045 name: aai-data-router-secret
46 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000047type: Opaque
48data:
49{{ tpl (.Files.Glob "resources/config/data-router/appconfig/auth/*").AsSecrets . | indent 2 }}
50---
51apiVersion: v1
52kind: ConfigMap
53metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000054 name: aai-data-router-dynamic-configmap
55 namespace: {{ .Values.nsPrefix }}
mayankg2703955077e2018-02-05 11:00:25 +000056data:
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 }}