Skip to content

Commit 6e7e01d

Browse files
author
Michael Chmielewski
committed
Add additional capabilities and mounts for agent 3.0.0
1 parent 24df5bd commit 6e7e01d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

TSKubernetesDaemonSet.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
securityContext:
139139
privileged: false
140140
capabilities:
141-
add: ["AUDIT_CONTROL", "SYS_ADMIN", "SYS_PTRACE", "SYS_NICE"]
141+
add: ["AUDIT_CONTROL", "SYS_ADMIN", "SYS_PTRACE", "SYS_NICE", "SYS_RESOURCE", "IPC_LOCK"]
142142
resources:
143143
requests:
144144
memory: "256Mi"
@@ -149,7 +149,22 @@ spec:
149149
volumeMounts:
150150
- name: hostfs
151151
mountPath: /threatstackfs
152+
- name: kernel-debug
153+
mountPath: /sys/kernel/debug
154+
- name: cgroup
155+
mountPath: /sys/fs/cgroup
156+
- name: bpf
157+
mountPath: /sys/fs/bpf
152158
volumes:
153159
- hostPath:
154160
path: /
155161
name: hostfs
162+
- hostPath:
163+
path: /sys/kernel/debug
164+
name: kernel-debug
165+
- hostPath:
166+
path: /sys/fs/cgroup
167+
name: cgroup
168+
- hostPath:
169+
path: /sys/fs/bpf
170+
name: bpf

0 commit comments

Comments
 (0)