blob: 055c5ba116f23aed9bcd9d53602b0ad48637eb59 [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 }}
32---
33apiVersion: v1
34kind: ConfigMap
35metadata:
kj9bf27312018-03-19 15:07:44 +020036 name: {{ include "common.fullname" . }}
37 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000038 labels:
39 app: {{ include "common.name" . }}
40 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
41 release: {{ .Release.Name }}
42 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020043data:
44{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
45---
46apiVersion: v1
47kind: ConfigMap
48metadata:
kj9bf27312018-03-19 15:07:44 +020049 name: {{ include "common.fullname" . }}-portal
50 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000051 labels:
52 app: {{ include "common.name" . }}
53 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
54 release: {{ .Release.Name }}
55 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020056data:
57{{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
58---
59apiVersion: v1
60kind: ConfigMap
61metadata:
rv871fb59b7fd2018-09-05 13:33:10 -040062 name: {{ include "common.fullname" . }}-portal-props
kj9bf27312018-03-19 15:07:44 +020063 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000064 labels:
65 app: {{ include "common.name" . }}
66 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
67 release: {{ .Release.Name }}
68 heritage: {{ .Release.Service }}
kj9bf27312018-03-19 15:07:44 +020069data:
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000070{{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}