blob: 4adf816b833edc928a6b8244458223be0159d633 [file] [log] [blame]
jmac065e2ce2018-03-29 01:18:02 +00001# Copyright © 2017 Amdocs, Bell Canada
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
15apiVersion: v1
16kind: ConfigMap
17metadata:
18 name: {{ include "common.fullname" . }}-filebeat-configmap
19 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj6d1f8df2018-09-18 10:02:00 +000020 labels:
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
jmac065e2ce2018-03-29 01:18:02 +000025data:
26{{ tpl (.Files.Glob "resources/config/log/filebeat/log4j/*").AsConfig . | indent 2 }}
27---
28apiVersion: v1
29kind: ConfigMap
30metadata:
31 name: {{ include "common.fullname" . }}-log-configmap
32 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj6d1f8df2018-09-18 10:02:00 +000033 labels:
34 app: {{ include "common.name" . }}
35 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
36 release: {{ .Release.Name }}
37 heritage: {{ .Release.Service }}
jmac065e2ce2018-03-29 01:18:02 +000038data:
39{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
40---
41apiVersion: v1
42kind: ConfigMap
43metadata:
jmaca68f4cb2018-05-10 22:44:19 +000044 name: {{ include "common.fullname" . }}-bin
jmac065e2ce2018-03-29 01:18:02 +000045 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj6d1f8df2018-09-18 10:02:00 +000046 labels:
47 app: {{ include "common.name" . }}
48 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
49 release: {{ .Release.Name }}
50 heritage: {{ .Release.Service }}
jmac065e2ce2018-03-29 01:18:02 +000051data:
jmaca68f4cb2018-05-10 22:44:19 +000052{{ tpl (.Files.Glob "resources/config/bin/*").AsConfig . | indent 2 }}
jmac065e2ce2018-03-29 01:18:02 +000053---
54apiVersion: v1
55kind: ConfigMap
56metadata:
jmaca68f4cb2018-05-10 22:44:19 +000057 name: {{ include "common.fullname" . }}-properties
jmac065e2ce2018-03-29 01:18:02 +000058 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj6d1f8df2018-09-18 10:02:00 +000059 labels:
60 app: {{ include "common.name" . }}
61 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
62 release: {{ .Release.Name }}
63 heritage: {{ .Release.Service }}
jmac065e2ce2018-03-29 01:18:02 +000064data:
jmaca68f4cb2018-05-10 22:44:19 +000065{{ tpl (.Files.Glob "resources/config/conf/*").AsConfig . | indent 2 }}
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -040066---
67apiVersion: v1
68kind: ConfigMap
69metadata:
70 name: {{ include "common.fullname" . }}-env
71 namespace: {{ include "common.namespace" . }}
toshrajbhardwaj6d1f8df2018-09-18 10:02:00 +000072 labels:
73 app: {{ include "common.name" . }}
74 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
75 release: {{ .Release.Name }}
76 heritage: {{ .Release.Service }}
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -040077data:
78{{ tpl (.Files.Get "resources/env.yaml") . | indent 2 }}