Skip to content

Commit e1234c8

Browse files
authored
Merge pull request #30 from olhado/ebpf-enhancements
Add additional capabilities and mounts for agent 3.0.0
2 parents 094033f + 2e642ea commit e1234c8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

TSKubernetesDaemonSet.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ spec:
9494
volumeMounts:
9595
- name: hostfs
9696
mountPath: /threatstackfs
97+
readOnly: true
9798
volumes:
9899
- hostPath:
99100
path: /
@@ -138,7 +139,7 @@ spec:
138139
securityContext:
139140
privileged: false
140141
capabilities:
141-
add: ["AUDIT_CONTROL", "SYS_ADMIN", "SYS_PTRACE", "SYS_NICE"]
142+
add: ["AUDIT_CONTROL", "SYS_ADMIN", "SYS_PTRACE", "SYS_NICE", "SYS_RESOURCE", "IPC_LOCK"]
142143
resources:
143144
requests:
144145
memory: "256Mi"
@@ -149,7 +150,13 @@ spec:
149150
volumeMounts:
150151
- name: hostfs
151152
mountPath: /threatstackfs
153+
readOnly: true
154+
- name: kernel-debug
155+
mountPath: /sys/kernel/debug
152156
volumes:
153157
- hostPath:
154158
path: /
155159
name: hostfs
160+
- hostPath:
161+
path: /sys/kernel/debug
162+
name: kernel-debug

0 commit comments

Comments
 (0)