blob: 50238aaea35104cb2c9457ecdfd83a4e427ec1e0 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# 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
kj9bf27312018-03-19 15:07:44 +020015apiVersion: v1
16kind: ConfigMap
17metadata:
rv871fb59b7fd2018-09-05 13:33:10 -040018 name: {{ include "common.fullname" . }}-prop
19 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000020 labels:
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
rv871fb59b7fd2018-09-05 13:33:10 -040025data:
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 }}
Arul.Nambi279c43e2018-10-10 16:14:55 -040032{{ tpl (.Files.Glob "resources/config/roles.config").AsConfig . | indent 2 }}
33{{ tpl (.Files.Glob "resources/config/users.config").AsConfig . | indent 2 }}
rv871fb59b7fd2018-09-05 13:33:10 -040034---
35apiVersion: v1
36kind: ConfigMap
37metadata:
kj9bf27312018-03-19 15:07:44 +020038 name: {{ include "common.fullname" . }}
39 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000040 labels:
41 app: {{ include "common.name" . }}
42 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
43 release: {{ .Release.Name }}
44 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020045data:
46{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
47---
48apiVersion: v1
49kind: ConfigMap
50metadata:
kj9bf27312018-03-19 15:07:44 +020051 name: {{ include "common.fullname" . }}-portal
52 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000053 labels:
54 app: {{ include "common.name" . }}
55 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
56 release: {{ .Release.Name }}
57 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020058data:
59{{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
60---
61apiVersion: v1
62kind: ConfigMap
63metadata:
rv871fb59b7fd2018-09-05 13:33:10 -040064 name: {{ include "common.fullname" . }}-portal-props
kj9bf27312018-03-19 15:07:44 +020065 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000066 labels:
67 app: {{ include "common.name" . }}
68 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
69 release: {{ .Release.Name }}
70 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020071data:
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000072{{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}