diff options
author | 2021-11-15 16:07:32 +0100 | |
---|---|---|
committer | 2021-11-16 06:24:22 +0000 | |
commit | ca5b1b5a69aa15e5cc8e5dcb73dc39c24232ab46 (patch) | |
tree | 5c4262f38279959b96541fb1d3e73a6241a40661 /kubernetes/vid/templates/configmap.yaml | |
parent | ef30ef97fef8338720e3431b73a7b0e3e4cca575 (diff) |
[VID] 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: I035f51a3931dd41fc56d477cfb43ba57e2c042f6
Diffstat (limited to 'kubernetes/vid/templates/configmap.yaml')
-rw-r--r-- | kubernetes/vid/templates/configmap.yaml | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/kubernetes/vid/templates/configmap.yaml b/kubernetes/vid/templates/configmap.yaml index 0ba466dfb9..5c423e61cc 100644 --- a/kubernetes/vid/templates/configmap.yaml +++ b/kubernetes/vid/templates/configmap.yaml @@ -27,18 +27,7 @@ metadata: data: {{ tpl (.Files.Glob "resources/config/log/vid/*").AsConfig . | indent 2 }} --- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ include "common.fullname" . }}-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 |