blob: 162e96b0dca4dfab79bee178ee3b1a807e36eb52 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# 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.
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010015*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010016
17apiVersion: v1
18kind: ConfigMap
19metadata:
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 }}
27data:
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---
37apiVersion: v1
38kind: ConfigMap
39metadata:
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 }}
47data:
48{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
49---
50apiVersion: v1
51kind: ConfigMap
52metadata:
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 }}
60data:
61{{ tpl (.Files.Glob "resources/config/portal/*").AsConfig . | indent 2 }}
62---
63apiVersion: v1
64kind: ConfigMap
65metadata:
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 }}
73data:
74{{ tpl (.Files.Glob "resources/config/portal/BOOT-INF/classes/*").AsConfig . | indent 2 }}