[AAI] Make AAI helm3 compatible
[oom.git] / kubernetes / aai / components / aai-sparky-be / templates / configmap.yaml
1 {{/*
2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 */}}
16
17 apiVersion: v1
18 kind: ConfigMap
19 metadata:
20   name: {{ include "common.fullname" . }}-prop
21   namespace: {{ include "common.namespace" . }}
22   labels:
23     app: {{ include "common.name" . }}
24     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25     release: {{ include "common.release" . }}
26     heritage: {{ .Release.Service }}
27 data:
28 {{ tpl (.Files.Glob "resources/config/application.properties").AsConfig . | indent 2 }}
29 {{ tpl (.Files.Glob "resources/config/application-resources.properties").AsConfig . | indent 2 }}
30 {{ tpl (.Files.Glob "resources/config/application-ssl.properties").AsConfig . | indent 2 }}
31 {{ tpl (.Files.Glob "resources/config/application-oxm-default.properties").AsConfig . | indent 2 }}
32 {{ tpl (.Files.Glob "resources/config/application-oxm-override.properties").AsConfig . | indent 2 }}
33 {{ tpl (.Files.Glob "resources/config/application-oxm-schema-prod.properties").AsConfig . | indent 2 }}
34 {{ tpl (.Files.Glob "resources/config/roles.config").AsConfig . | indent 2 }}
35 {{ tpl (.Files.Glob "resources/config/users.config").AsConfig . | indent 2 }}
36 ---
37 apiVersion: v1
38 kind: ConfigMap
39 metadata:
40   name: {{ include "common.fullname" . }}
41   namespace: {{ include "common.namespace" . }}
42   labels:
43     app: {{ include "common.name" . }}
44     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
45     release: {{ include "common.release" . }}
46     heritage: {{ .Release.Service }}
47 data:
48 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
49 ---
50 apiVersion: v1
51 kind: ConfigMap
52 metadata:
53   name: {{ include "common.fullname" . }}-portal
54   namespace: {{ include "common.namespace" . }}
55   labels:
56     app: {{ include "common.name" . }}
57     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
58     release: {{ include "common.release" . }}
59     heritage: {{ .Release.Service }}
60 data:
61 {{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
62 ---
63 apiVersion: v1
64 kind: ConfigMap
65 metadata:
66   name: {{ include "common.fullname" . }}-portal-props
67   namespace: {{ include "common.namespace" . }}
68   labels:
69     app: {{ include "common.name" . }}
70     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
71     release: {{ include "common.release" . }}
72     heritage: {{ .Release.Service }}
73 data:
74 {{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}