Merge "Add Config and CL policies for OOF PCI use case"
[oom.git] / kubernetes / aai / charts / 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: {{ .Release.Name }}
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 ---
33 apiVersion: v1
34 kind: ConfigMap
35 metadata:
36   name: {{ include "common.fullname" . }}
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/*").AsConfig . | indent 2 }}
45 ---
46 apiVersion: v1
47 kind: ConfigMap
48 metadata:
49   name: {{ include "common.fullname" . }}-portal
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/portal/*").AsConfig . | indent 2 }}
58 ---
59 apiVersion: v1
60 kind: ConfigMap
61 metadata:
62   name: {{ include "common.fullname" . }}-portal-props
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/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}