Add graphadmin microservice to oom
[oom.git] / kubernetes / aai / charts / aai-graphadmin / templates / configmap.yaml
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #    http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 apiVersion: v1
21 kind: ConfigMap
22 metadata:
23   name: {{ include "common.fullname" . }}-log
24   namespace: {{ include "common.namespace" . }}
25 data:
26 {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
27 ---
28 apiVersion: v1
29 kind: ConfigMap
30 metadata:
31   name: {{ include "common.fullname" . }}-localhost-access-log-configmap
32   namespace: {{ include "common.namespace" . }}
33 data:
34 {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
35 ---
36 apiVersion: v1
37 kind: ConfigMap
38 metadata:
39   name: {{ include "common.fullname" . }}-db-real-configmap
40   namespace: {{ include "common.namespace" . }}
41 data:
42 {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
43 ---
44 apiVersion: v1
45 kind: ConfigMap
46 metadata:
47   name: {{ include "common.fullname" . }}-db-cached-configmap
48   namespace: {{ include "common.namespace" . }}
49 data:
50 {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
51 ---
52 apiVersion: v1
53 kind: ConfigMap
54 metadata:
55   name: {{ include "common.fullname" . }}-aaiconfig-configmap
56   namespace: {{ include "common.namespace" . }}
57 data:
58 {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
59 ---
60 apiVersion: v1
61 kind: ConfigMap
62 metadata:
63   name: {{ include "common.fullname" . }}-springapp-configmap
64   namespace: {{ include "common.namespace" . }}
65 data:
66 {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
67 ---
68 apiVersion: v1
69 kind: ConfigMap
70 metadata:
71   name: {{ include "common.fullname" . }}-realm-configmap
72   namespace: {{ include "common.namespace" . }}
73 data:
74 {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}