Skip to content

Commit

Permalink
mount hostpath /var to node-agent
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Bertschy <[email protected]>
  • Loading branch information
matthyx committed Nov 29, 2024
1 parent 9d6ff72 commit 0867eec
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2985,6 +2985,8 @@ all capabilities:
name: host
- mountPath: /run
name: run
- mountPath: /var
name: var
- mountPath: /lib/modules
name: modules
- mountPath: /sys/kernel/debug
Expand Down Expand Up @@ -3030,6 +3032,9 @@ all capabilities:
- hostPath:
path: /run
name: run
- hostPath:
path: /var
name: var
- hostPath:
path: /sys/fs/cgroup
name: cgroup
Expand Down Expand Up @@ -8706,6 +8711,8 @@ default capabilities:
name: host
- mountPath: /run
name: run
- mountPath: /var
name: var
- mountPath: /lib/modules
name: modules
- mountPath: /sys/kernel/debug
Expand Down Expand Up @@ -8746,6 +8753,9 @@ default capabilities:
- hostPath:
path: /run
name: run
- hostPath:
path: /var
name: var
- hostPath:
path: /sys/fs/cgroup
name: cgroup
Expand Down Expand Up @@ -13258,6 +13268,8 @@ disable otel:
name: host
- mountPath: /run
name: run
- mountPath: /var
name: var
- mountPath: /lib/modules
name: modules
- mountPath: /sys/kernel/debug
Expand Down Expand Up @@ -13295,6 +13307,9 @@ disable otel:
- hostPath:
path: /run
name: run
- hostPath:
path: /var
name: var
- hostPath:
path: /sys/fs/cgroup
name: cgroup
Expand Down Expand Up @@ -16795,6 +16810,8 @@ minimal capabilities:
name: host
- mountPath: /run
name: run
- mountPath: /var
name: var
- mountPath: /lib/modules
name: modules
- mountPath: /sys/kernel/debug
Expand Down Expand Up @@ -16832,6 +16849,9 @@ minimal capabilities:
- hostPath:
path: /run
name: run
- hostPath:
path: /var
name: var
- hostPath:
path: /sys/fs/cgroup
name: cgroup
Expand Down
5 changes: 5 additions & 0 deletions charts/kubescape-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,8 @@ nodeAgent:
name: host
- mountPath: /run
name: run
- mountPath: /var
name: var
- mountPath: /lib/modules
name: modules
- mountPath: /sys/kernel/debug
Expand All @@ -576,6 +578,9 @@ nodeAgent:
- hostPath:
path: /run
name: run
- hostPath:
path: /var
name: var
- hostPath:
path: /sys/fs/cgroup
name: cgroup
Expand Down

0 comments on commit 0867eec

Please sign in to comment.