summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/templates/configmap.yaml
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2021-11-05 14:38:18 +0000
committerMaciej Wereski <m.wereski@partner.samsung.com>2021-11-08 17:58:35 +0100
commitdf9ba227fe15004086769f919f0d060f1a7f2687 (patch)
tree7616641d79153f7c0cc1f3deea390fc49da03528 /kubernetes/so/templates/configmap.yaml
parentd5ae6db805736529090f08955e5a9730e0cdadb3 (diff)
[SO] 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: Ib883fcafe4424d4ec78a999899c99af2ae95a6cc
Diffstat (limited to 'kubernetes/so/templates/configmap.yaml')
-rwxr-xr-xkubernetes/so/templates/configmap.yaml8
1 files changed, 1 insertions, 7 deletions
diff --git a/kubernetes/so/templates/configmap.yaml b/kubernetes/so/templates/configmap.yaml
index 74daf41b7f..c55bf573f1 100755
--- a/kubernetes/so/templates/configmap.yaml
+++ b/kubernetes/so/templates/configmap.yaml
@@ -49,10 +49,4 @@ metadata:
data:
{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
---
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ .Release.Name }}-so-filebeat-configmap
- namespace: {{ include "common.namespace" . }}
-data:
-{{ tpl (.Files.Glob "resources/config/log/filebeat/filebeat.yml").AsConfig . | indent 2 }}
+{{ include "common.log.configMap" . }}