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