From bc5101a739ebe4603053758be65a4efe3c983eb3 Mon Sep 17 00:00:00 2001 From: jaskaransarkaria Date: Wed, 20 Dec 2023 13:39:00 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20wip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configmap.tf | 2 +- templates/values.yaml.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configmap.tf b/configmap.tf index f01f120..3c7767a 100644 --- a/configmap.tf +++ b/configmap.tf @@ -58,7 +58,7 @@ resource "kubernetes_config_map" "fluent-bit-config" { Name tail Alias modsec_nginx_ingress_stdout Tag cp-ingress-modsec-stdout.* - Path /var/log/containers/ingress-controllers_nginx-ingress-modsec-controller*.log + Path /var/log/host/containers/ingress-controllers_nginx-ingress-modsec-controller*.log Parser cri-containerd Refresh_Interval 5 Buffer_Max_Size 5MB diff --git a/templates/values.yaml.tpl b/templates/values.yaml.tpl index ba3a6cc..35657f3 100644 --- a/templates/values.yaml.tpl +++ b/templates/values.yaml.tpl @@ -70,7 +70,7 @@ controller: mountPath: /fluent-bit/scripts/ - name: logs-volume mountPath: /var/log/audit/ - - mountPath: /var/log + - mountPath: /var/log/host/ name: varlog - mountPath: /var/lib/docker/containers name: varlibdockercontainers