From 86a905260988ac3f9b60fda0d78716953aea23aa Mon Sep 17 00:00:00 2001 From: Afek Berger Date: Sun, 5 Jan 2025 10:48:30 +0200 Subject: [PATCH] Added node-agent mounts Signed-off-by: Afek Berger --- .../__snapshot__/snapshot_test.yaml.snap | 20 +++++++++++++++++++ charts/kubescape-operator/values.yaml | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap b/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap index 9436b5d7..c9278be4 100644 --- a/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap +++ b/charts/kubescape-operator/tests/__snapshot__/snapshot_test.yaml.snap @@ -2673,6 +2673,8 @@ all capabilities: name: bpffs - mountPath: /data name: data + - mountPath: /boot + name: boot - mountPath: /clamav name: clamrun readOnly: false @@ -2723,6 +2725,9 @@ all capabilities: - hostPath: path: /sys/kernel/debug name: debugfs + - hostPath: + path: /boot + name: boot - emptyDir: null name: data - emptyDir: {} @@ -8141,6 +8146,8 @@ default capabilities: name: bpffs - mountPath: /data name: data + - mountPath: /boot + name: boot - mountPath: /clamav name: clamrun readOnly: false @@ -8186,6 +8193,9 @@ default capabilities: - hostPath: path: /sys/kernel/debug name: debugfs + - hostPath: + path: /boot + name: boot - emptyDir: null name: data - emptyDir: {} @@ -12500,6 +12510,8 @@ disable otel: name: bpffs - mountPath: /data name: data + - mountPath: /boot + name: boot - mountPath: /clamav name: clamrun readOnly: false @@ -12542,6 +12554,9 @@ disable otel: - hostPath: path: /sys/kernel/debug name: debugfs + - hostPath: + path: /boot + name: boot - emptyDir: null name: data - emptyDir: {} @@ -16069,6 +16084,8 @@ minimal capabilities: name: bpffs - mountPath: /data name: data + - mountPath: /boot + name: boot - mountPath: /clamav name: clamrun readOnly: false @@ -16111,6 +16128,9 @@ minimal capabilities: - hostPath: path: /sys/kernel/debug name: debugfs + - hostPath: + path: /boot + name: boot - emptyDir: null name: data - emptyDir: {} diff --git a/charts/kubescape-operator/values.yaml b/charts/kubescape-operator/values.yaml index be884ab2..cb67fdb1 100644 --- a/charts/kubescape-operator/values.yaml +++ b/charts/kubescape-operator/values.yaml @@ -542,6 +542,8 @@ nodeAgent: name: bpffs - mountPath: /data name: data + - mountPath: /boot + name: boot - mountPath: /clamav name: clamrun readOnly: false @@ -568,6 +570,9 @@ nodeAgent: - hostPath: path: /sys/kernel/debug name: debugfs + - hostPath: + path: /boot + name: boot - emptyDir: name: data