Jakub Latusek | df233a8 | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 1 | {{/* |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 2 | #============LICENSE_START======================================================== |
| 3 | # ================================================================================ |
| 4 | # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 5 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 6 | # ================================================================================ |
| 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 Latusek | df233a8 | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 19 | */}} |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 20 | |
| 21 | apiVersion: v1 |
| 22 | kind: ConfigMap |
| 23 | metadata: |
| 24 | name: {{ include "common.fullname" . }}-configmap |
| 25 | namespace: {{ include "common.namespace" . }} |
| 26 | data: |
| 27 | {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} |
| 28 | --- |
| 29 | apiVersion: v1 |
| 30 | kind: ConfigMap |
| 31 | metadata: |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 32 | name: {{ include "common.release" . }}-dcae-filebeat-configmap |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 33 | namespace: {{include "common.namespace" . }} |
| 34 | data: |
| 35 | {{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }} |
Jack Lucas | ecc9f60 | 2019-03-19 11:38:42 -0400 | [diff] [blame] | 36 | --- |
| 37 | apiVersion: v1 |
| 38 | kind: ConfigMap |
| 39 | metadata: |
| 40 | name: {{ .Values.multisiteConfigMapName }} |
| 41 | namespace: {{include "common.namespace" . }} |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 42 | {{ if .Values.dcae_ns }} |
| 43 | --- |
| 44 | apiVersion: v1 |
| 45 | kind: ConfigMap |
| 46 | metadata: |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 47 | name: {{ include "common.release" . }}-dcae-filebeat-configmap |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 48 | namespace: {{ .Values.dcae_ns }} |
| 49 | data: |
| 50 | {{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }} |
| 51 | {{ end }} |
| 52 | |