blob: 6ec98b56c45a636cc23429054b50a02c4ff5078f [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
BorislavGe904ab22018-04-03 16:55:55 +03006# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END=========================================================
Jakub Latusekdf233a82020-10-21 13:36:29 +020019*/}}
BorislavGe904ab22018-04-03 16:55:55 +030020
21apiVersion: 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 Lucasc70bc7e2019-09-23 09:02:31 -040032 name: {{ include "common.release" . }}-dcae-filebeat-configmap
BorislavGe904ab22018-04-03 16:55:55 +030033 namespace: {{include "common.namespace" . }}
34data:
35{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
Jack Lucasecc9f602019-03-19 11:38:42 -040036---
37apiVersion: v1
38kind: ConfigMap
39metadata:
40 name: {{ .Values.multisiteConfigMapName }}
41 namespace: {{include "common.namespace" . }}
BorislavGe904ab22018-04-03 16:55:55 +030042{{ if .Values.dcae_ns }}
43---
44apiVersion: v1
45kind: ConfigMap
46metadata:
Jack Lucasc70bc7e2019-09-23 09:02:31 -040047 name: {{ include "common.release" . }}-dcae-filebeat-configmap
BorislavGe904ab22018-04-03 16:55:55 +030048 namespace: {{ .Values.dcae_ns }}
49data:
50{{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
51{{ end }}
52