From c3c38512e955d192afecf93613558d4b8b4b144f Mon Sep 17 00:00:00 2001 From: Eswar Rajan Subramanian Date: Wed, 1 Feb 2023 11:20:15 +0530 Subject: [PATCH] Add missing configuration Signed-off-by: Eswar Rajan Subramanian --- deployments/k8s/deployment.yaml | 3 ++- src/conf/local-file.yaml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deployments/k8s/deployment.yaml b/deployments/k8s/deployment.yaml index 20f7acdd..177d7d5d 100644 --- a/deployments/k8s/deployment.yaml +++ b/deployments/k8s/deployment.yaml @@ -56,7 +56,7 @@ data: operation-mode: 1 # 1: cronjob | 2: one-time-job cron-job-time-interval: "0h0m10s" # format: XhYmZs operation-trigger: 5 - network-log-from: "kubearmor" # db|hubble|feed-consumer + network-log-from: "kubearmor" # db|hubble|feed-consumer|kubearmor network-log-file: "./flow.json" # file path network-policy-to: "db" # db, file network-policy-dir: "./" @@ -65,6 +65,7 @@ data: system: operation-mode: 1 # 1: cronjob | 2: one-time-job cron-job-time-interval: "0h0m10s" # format: XhYmZs + operation-trigger: 5 system-log-from: "kubearmor" # db|kubearmor|feed-consumer system-log-file: "./log.json" # file path system-policy-to: "db" # db, file diff --git a/src/conf/local-file.yaml b/src/conf/local-file.yaml index be128e85..978d2102 100644 --- a/src/conf/local-file.yaml +++ b/src/conf/local-file.yaml @@ -2,10 +2,10 @@ application: name: knoxautopolicy network: operation-mode: 1 # 1: cronjob | 2: one-time-job - operation-trigger: 100 + operation-trigger: 5 cron-job-time-interval: "0h0m10s" # format: XhYmZs network-log-limit: 10000 - network-log-from: "hubble" # db|hubble|feed-consumer|kubearmor + network-log-from: "kubearmor" # db|hubble|feed-consumer|kubearmor #network-log-file: "/home/rahul/feeds.json" # file path network-policy-to: "db" # db, file network-policy-dir: "./"