281bac6915d7d854c42545fb1bcbb53ce26b89d2
[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   labels:
26     app: {{ include "common.name" . }}
27     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
28     release: {{ .Release.Name }}
29     heritage: {{ .Release.Service }}
30 data:
31 {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }}
32 ---
33 apiVersion: v1
34 kind: ConfigMap
35 metadata:
36   name: {{ include "common.fullname" . }}-localhost-access-log-configmap
37   namespace: {{ include "common.namespace" . }}
38   labels:
39     app: {{ include "common.name" . }}
40     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
41     release: {{ .Release.Name }}
42     heritage: {{ .Release.Service }}
43 data:
44 {{ tpl (.Files.Glob "resources/config/localhost-access-logback.xml").AsConfig . | indent 2 }}
45 ---
46 apiVersion: v1
47 kind: ConfigMap
48 metadata:
49   name: {{ include "common.fullname" . }}-db-real-configmap
50   namespace: {{ include "common.namespace" . }}
51   labels:
52     app: {{ include "common.name" . }}
53     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
54     release: {{ .Release.Name }}
55     heritage: {{ .Release.Service }}
56 data:
57 {{ tpl (.Files.Glob "resources/config/janusgraph-realtime.properties").AsConfig . | indent 2 }}
58 ---
59 apiVersion: v1
60 kind: ConfigMap
61 metadata:
62   name: {{ include "common.fullname" . }}-db-cached-configmap
63   namespace: {{ include "common.namespace" . }}
64   labels:
65     app: {{ include "common.name" . }}
66     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
67     release: {{ .Release.Name }}
68     heritage: {{ .Release.Service }}
69 data:
70 {{ tpl (.Files.Glob "resources/config/janusgraph-cached.properties").AsConfig . | indent 2 }}
71 ---
72 apiVersion: v1
73 kind: ConfigMap
74 metadata:
75   name: {{ include "common.fullname" . }}-aaiconfig-configmap
76   namespace: {{ include "common.namespace" . }}
77   labels:
78     app: {{ include "common.name" . }}
79     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
80     release: {{ .Release.Name }}
81     heritage: {{ .Release.Service }}
82 data:
83 {{ tpl (.Files.Glob "resources/config/aaiconfig.properties").AsConfig . | indent 2 }}
84 ---
85 apiVersion: v1
86 kind: ConfigMap
87 metadata:
88   name: {{ include "common.fullname" . }}-springapp-configmap
89   namespace: {{ include "common.namespace" . }}
90   labels:
91     app: {{ include "common.name" . }}
92     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
93     release: {{ .Release.Name }}
94     heritage: {{ .Release.Service }}
95 data:
96 {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
97 ---
98 apiVersion: v1
99 kind: ConfigMap
100 metadata:
101   name: {{ include "common.fullname" . }}-realm-configmap
102   namespace: {{ include "common.namespace" . }}
103   labels:
104     app: {{ include "common.name" . }}
105     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
106     release: {{ .Release.Name }}
107     heritage: {{ .Release.Service }}
108 data:
109 {{ tpl (.Files.Glob "resources/config/realm.properties").AsConfig . | indent 2 }}