blob: e0187940354829d8895281284e57e98091b118cf [file] [log] [blame]
Michael Arrastia6c3ba492018-03-29 14:53:40 +01001# Copyright © 2018 Amdocs, AT&T
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 Bell Canada
Michael Arrastia6c3ba492018-03-29 14:53:40 +01003#
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.
15
16apiVersion: v1
17kind: ConfigMap
18metadata:
19 name: {{ include "common.fullname" . }}-configmap
20 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000021 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
Michael Arrastia6c3ba492018-03-29 14:53:40 +010026data:
27{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
Edwin Lawrance0a444a82018-10-24 14:47:01 +010028
29{{ if .Values.global.installSidecarSecurity }}
30---
31apiVersion: v1
32kind: ConfigMap
33metadata:
34 name: {{ include "common.fullname" . }}-fproxy-config
35 namespace: {{ include "common.namespace" . }}
36data:
37{{ tpl (.Files.Glob "resources/fproxy/config/*").AsConfig . | indent 2 }}
38---
39apiVersion: v1
40kind: ConfigMap
41metadata:
42 name: {{ include "common.fullname" . }}-fproxy-log-config
43 namespace: {{ include "common.namespace" . }}
44data:
45{{ tpl (.Files.Glob "resources/fproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
46---
47apiVersion: v1
48kind: ConfigMap
49metadata:
50 name: {{ include "common.fullname" . }}-rproxy-config
51 namespace: {{ include "common.namespace" . }}
52data:
53{{ tpl (.Files.Glob "resources/rproxy/config/*").AsConfig . | indent 2 }}
54---
55apiVersion: v1
56kind: ConfigMap
57metadata:
58 name: {{ include "common.fullname" . }}-rproxy-log-config
59 namespace: {{ include "common.namespace" . }}
60data:
61{{ tpl (.Files.Glob "resources/rproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
62{{ end }}