blob: a25dcbc806e76036fecb1f29e25f6aac20b18470 [file] [log] [blame]
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -04001# Copyright © 2018 Amdocs, AT&T
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 Bell Canada
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -04003#
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 }}
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040026data:
27{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
28---
29apiVersion: v1
30kind: ConfigMap
31metadata:
32 name: {{ include "common.fullname" . }}-model-configmap
33 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000034 labels:
35 app: {{ include "common.name" . }}
36 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
37 release: {{ .Release.Name }}
38 heritage: {{ .Release.Service }}
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040039data:
40{{ tpl (.Files.Glob "resources/config/model/*").AsConfig . | indent 2 }}
41---
42apiVersion: v1
43kind: ConfigMap
44metadata:
45 name: {{ include "common.fullname" . }}-log-configmap
46 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000047 labels:
48 app: {{ include "common.name" . }}
49 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
50 release: {{ .Release.Name }}
51 heritage: {{ .Release.Service }}
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040052data:
53{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
54---
55apiVersion: v1
56kind: ConfigMap
57metadata:
58 name: {{ include "common.fullname" . }}-filebeat-configmap
59 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj4cd5fc02018-09-18 03:24:47 +000060 labels:
61 app: {{ include "common.name" . }}
62 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
63 release: {{ .Release.Name }}
64 heritage: {{ .Release.Service }}
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040065data:
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +000066{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
Ravi Gedac6b5e852018-09-30 21:14:41 +010067
68{{ if .Values.global.installSidecarSecurity }}
69---
70apiVersion: v1
71kind: ConfigMap
72metadata:
73 name: {{ include "common.fullname" . }}-fproxy-config
74 namespace: {{ include "common.namespace" . }}
75data:
76{{ tpl (.Files.Glob "resources/fproxy/config/*").AsConfig . | indent 2 }}
77---
78apiVersion: v1
79kind: ConfigMap
80metadata:
81 name: {{ include "common.fullname" . }}-fproxy-log-config
82 namespace: {{ include "common.namespace" . }}
83data:
84{{ tpl (.Files.Glob "resources/fproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
85---
86apiVersion: v1
87kind: ConfigMap
88metadata:
89 name: {{ include "common.fullname" . }}-rproxy-config
90 namespace: {{ include "common.namespace" . }}
91data:
92{{ tpl (.Files.Glob "resources/rproxy/config/*").AsConfig . | indent 2 }}
93---
94apiVersion: v1
95kind: ConfigMap
96metadata:
97 name: {{ include "common.fullname" . }}-rproxy-log-config
98 namespace: {{ include "common.namespace" . }}
99data:
100{{ tpl (.Files.Glob "resources/rproxy/config/logback-spring.xml").AsConfig . | indent 2 }}
101{{ end }}
102