aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2021-10-14 13:59:12 +0000
committerMaciej Wereski <m.wereski@partner.samsung.com>2021-11-08 17:56:17 +0100
commit771ec2ae646dceacdb256024a67a375c0ce1e818 (patch)
tree352e150a5dca7ff24a30e5b5683f5fdfbe7b671b /kubernetes/sdc/templates
parentd5ae6db805736529090f08955e5a9730e0cdadb3 (diff)
[SDC] 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: If9d80afb9983247f80317a8f201329c85884e37b
Diffstat (limited to 'kubernetes/sdc/templates')
-rw-r--r--kubernetes/sdc/templates/configmap.yaml13
1 files changed, 1 insertions, 12 deletions
diff --git a/kubernetes/sdc/templates/configmap.yaml b/kubernetes/sdc/templates/configmap.yaml
index fbb0b4216c..712f2ecc61 100644
--- a/kubernetes/sdc/templates/configmap.yaml
+++ b/kubernetes/sdc/templates/configmap.yaml
@@ -28,15 +28,4 @@ metadata:
data:
{{ tpl (.Files.Glob "resources/config/environments/*").AsConfig . | indent 2 }}
---
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ include "common.release" . }}-sdc-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" . }}