blob: 9e0a5726bd53c95bd5eb0abea62c6e9bd2442982 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# 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
15apiVersion: v1
16kind: ConfigMap
17metadata:
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 }}
25data:
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---
35apiVersion: v1
36kind: ConfigMap
37metadata:
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 }}
45data:
46{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
47---
48apiVersion: v1
49kind: ConfigMap
50metadata:
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 }}
58data:
59{{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
60---
61apiVersion: v1
62kind: ConfigMap
63metadata:
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 }}
71data:
72{{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}