[AAI] Reintegrate AAI OOM charts in main repo
[oom.git] / kubernetes / aai / components / aai-sparky-be / templates / configmap.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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
15 apiVersion: v1
16 kind: ConfigMap
17 metadata:
18   name: {{ include "common.fullname" . }}-prop
19   namespace: {{ include "common.namespace" . }}
20   labels:
21     app: {{ include "common.name" . }}
22     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23     release: {{ include "common.release" . }}
24     heritage: {{ .Release.Service }}
25 data:
26 {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
27 {{ tpl (.Files.Glob "resources/config/application-resources.properties").AsConfig . | indent 2 }}
28 {{ tpl (.Files.Glob "resources/config/application-ssl.properties").AsConfig . | indent 2 }}
29 {{ tpl (.Files.Glob "resources/config/application-oxm-default.properties").AsConfig . | indent 2 }}
30 {{ tpl (.Files.Glob "resources/config/application-oxm-override.properties").AsConfig . | indent 2 }}
31 {{ tpl (.Files.Glob "resources/config/application-oxm-schema-prod.properties").AsConfig . | indent 2 }}
32 {{ tpl (.Files.Glob "resources/config/roles.config").AsConfig . | indent 2 }}
33 {{ tpl (.Files.Glob "resources/config/users.config").AsConfig . | indent 2 }}
34 ---
35 apiVersion: v1
36 kind: ConfigMap
37 metadata:
38   name: {{ include "common.fullname" . }}
39   namespace: {{ include "common.namespace" . }}
40   labels:
41     app: {{ include "common.name" . }}
42     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
43     release: {{ include "common.release" . }}
44     heritage: {{ .Release.Service }}
45 data:
46 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
47 ---
48 apiVersion: v1
49 kind: ConfigMap
50 metadata:
51   name: {{ include "common.fullname" . }}-portal
52   namespace: {{ include "common.namespace" . }}
53   labels:
54     app: {{ include "common.name" . }}
55     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
56     release: {{ include "common.release" . }}
57     heritage: {{ .Release.Service }}
58 data:
59 {{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
60 ---
61 apiVersion: v1
62 kind: ConfigMap
63 metadata:
64   name: {{ include "common.fullname" . }}-portal-props
65   namespace: {{ include "common.namespace" . }}
66   labels:
67     app: {{ include "common.name" . }}
68     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
69     release: {{ include "common.release" . }}
70     heritage: {{ .Release.Service }}
71 data:
72 {{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}