mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 1 | #{{ if not .Values.disableAaiDataRouter }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 5 | name: aai-data-router-prop-configmap |
| 6 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 7 | data: |
| 8 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/data-router.properties").AsConfig . | indent 2 }} |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: ConfigMap |
| 12 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 13 | name: aai-data-router-model-v8-configmap |
| 14 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 15 | data: |
| 16 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v8.xml").AsConfig . | indent 2 }} |
| 17 | --- |
| 18 | apiVersion: v1 |
| 19 | kind: ConfigMap |
| 20 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 21 | name: aai-data-router-model-v9-configmap |
| 22 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 23 | data: |
| 24 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v9.xml").AsConfig . | indent 2 }} |
| 25 | --- |
| 26 | apiVersion: v1 |
| 27 | kind: ConfigMap |
| 28 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 29 | name: aai-data-router-model-v10-configmap |
| 30 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 31 | data: |
| 32 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v10.xml").AsConfig . | indent 2 }} |
| 33 | --- |
| 34 | apiVersion: v1 |
| 35 | kind: ConfigMap |
| 36 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 37 | name: aai-data-router-model-v11-configmap |
| 38 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 39 | data: |
| 40 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/model/aai_oxm_v11.xml").AsConfig . | indent 2 }} |
| 41 | --- |
| 42 | apiVersion: v1 |
| 43 | kind: Secret |
| 44 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 45 | name: aai-data-router-secret |
| 46 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 47 | type: Opaque |
| 48 | data: |
| 49 | {{ tpl (.Files.Glob "resources/config/data-router/appconfig/auth/*").AsSecrets . | indent 2 }} |
| 50 | --- |
| 51 | apiVersion: v1 |
| 52 | kind: ConfigMap |
| 53 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 54 | name: aai-data-router-dynamic-configmap |
| 55 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 955077e | 2018-02-05 11:00:25 +0000 | [diff] [blame] | 56 | data: |
| 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 }} |