diff options
author | Michael Arrastia <MArrasti@amdocs.com> | 2018-06-15 16:30:04 +0100 |
---|---|---|
committer | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-07-03 12:41:01 +0000 |
commit | e610648f4c57c5fccfd8a952b9a098c88b49d5f2 (patch) | |
tree | 5f568131b629e5b357bb923b583c8220b188453e /kubernetes/aai/charts/aai-data-router/templates | |
parent | 7e39db558fb5705bd8c081c1e761b1b2ce54581d (diff) |
Add schemaIngest resource to aai-data-router
This file is required to configure the location of the OXM
files ingested by the data-router microservice.
Change-Id: Ie360f0b80af39c709a5c3dcb18ce06768fbb40a6
Issue-ID: AAI-1229
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-data-router/templates')
-rw-r--r-- | kubernetes/aai/charts/aai-data-router/templates/configmap.yaml | 2 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-data-router/templates/deployment.yaml | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml b/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml index 9652712aa6..badb53fb97 100644 --- a/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml +++ b/kubernetes/aai/charts/aai-data-router/templates/configmap.yaml @@ -4,7 +4,7 @@ metadata: name: {{ include "common.fullname" . }}-prop namespace: {{ include "common.namespace" . }} data: -{{ tpl (.Files.Glob "resources/config/data-router.properties").AsConfig . | indent 2 }} +{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} --- apiVersion: v1 kind: ConfigMap diff --git a/kubernetes/aai/charts/aai-data-router/templates/deployment.yaml b/kubernetes/aai/charts/aai-data-router/templates/deployment.yaml index 2d45a0b097..a045189299 100644 --- a/kubernetes/aai/charts/aai-data-router/templates/deployment.yaml +++ b/kubernetes/aai/charts/aai-data-router/templates/deployment.yaml @@ -82,8 +82,11 @@ spec: - mountPath: /opt/app/data-router/config/auth name: {{ include "common.fullname" . }}-auth - mountPath: /opt/app/data-router/config/data-router.properties - name: {{ include "common.fullname" . }}-properties subPath: data-router.properties + name: {{ include "common.fullname" . }}-properties + - mountPath: /opt/app/data-router/config/schemaIngest.properties + subPath: schemaIngest.properties + name: {{ include "common.fullname" . }}-properties - mountPath: /opt/app/data-router/dynamic/routes/entity-event.route subPath: entity-event.route name: {{ include "common.fullname" . }}-dynamic-route @@ -116,6 +119,11 @@ spec: - name: {{ include "common.fullname" . }}-properties configMap: name: {{ include "common.fullname" . }}-prop + items: + - key: data-router.properties + path: data-router.properties + - key: schemaIngest.properties + path: schemaIngest.properties - name: {{ include "common.fullname" . }}-dynamic-route configMap: name: {{ include "common.fullname" . }}-dynamic |