blob: 806b06ed8a682d47654ce8dee221ffd6b302a2da [file] [log] [blame]
Jakub Latusekdf233a82020-10-21 13:36:29 +02001{{/*
BorislavGe904ab22018-04-03 16:55:55 +03002#============LICENSE_START========================================================
3# ================================================================================
4# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
Durgpal7ad40692018-08-03 07:28:36 +00005# Modifications Copyright © 2018 Amdocs, Bell Canada
Jack Lucasd12a1b62021-01-11 12:46:33 -05006# Copyright (c) 2021 J. F. Lucas. All rights reserved.
BorislavGe904ab22018-04-03 16:55:55 +03007# ================================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============LICENSE_END=========================================================
Jakub Latusekdf233a82020-10-21 13:36:29 +020020*/}}
BorislavGe904ab22018-04-03 16:55:55 +030021apiVersion: v1
22kind: ConfigMap
23metadata:
24 name: {{ include "common.fullname" . }}-configmap
25 namespace: {{ include "common.namespace" . }}
26data:
27{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
28---
29apiVersion: v1
30kind: ConfigMap
31metadata:
Jack Lucasd12a1b62021-01-11 12:46:33 -050032 name: {{ include "common.fullname" . }}-plugins
33 namespace: {{ include "common.namespace" . }}
34data:
35{{ tpl (.Files.Glob "resources/config/plugins/*").AsConfig . | indent 2 }}
36---
37apiVersion: v1
38kind: ConfigMap
39metadata:
Jack Lucasc70bc7e2019-09-23 09:02:31 -040040 name: {{ include "common.release" . }}-dcae-filebeat-configmap
BorislavGe904ab22018-04-03 16:55:55 +030041 namespace: {{include "common.namespace" . }}
42data:
43{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
Jack Lucasecc9f602019-03-19 11:38:42 -040044---
45apiVersion: v1
46kind: ConfigMap
47metadata:
48 name: {{ .Values.multisiteConfigMapName }}
49 namespace: {{include "common.namespace" . }}
BorislavGe904ab22018-04-03 16:55:55 +030050{{ if .Values.dcae_ns }}
51---
52apiVersion: v1
53kind: ConfigMap
54metadata:
Jack Lucasc70bc7e2019-09-23 09:02:31 -040055 name: {{ include "common.release" . }}-dcae-filebeat-configmap
BorislavGe904ab22018-04-03 16:55:55 +030056 namespace: {{ .Values.dcae_ns }}
57data:
58{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
59{{ end }}
60