summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/templates/configmap.yaml
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2021-11-17 16:45:14 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2021-11-17 16:45:14 +0100
commit989c91ca903c686837fe890b76b2b6dd94b0f077 (patch)
tree95ff0ed798e6c9cd485d278786c2042b40d52702 /kubernetes/multicloud/templates/configmap.yaml
parent4eb609904c7882b95ff1122b911bbe42feaaee21 (diff)
[MULTICLOUD] Use log template
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I22bcac642e1f9607dc4e65e2b8b34c946b3c29cb
Diffstat (limited to 'kubernetes/multicloud/templates/configmap.yaml')
-rw-r--r--kubernetes/multicloud/templates/configmap.yaml13
1 files changed, 1 insertions, 12 deletions
diff --git a/kubernetes/multicloud/templates/configmap.yaml b/kubernetes/multicloud/templates/configmap.yaml
index 0800fbeb13..c76f531ee6 100644
--- a/kubernetes/multicloud/templates/configmap.yaml
+++ b/kubernetes/multicloud/templates/configmap.yaml
@@ -15,18 +15,7 @@
# limitations under the License.
*/}}
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: multicloud-filebeat-configmap
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-data:
-{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+{{ include "common.log.configMap" . }}
---
apiVersion: v1
kind: ConfigMap