-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tetragon: Detect move and remove previous bpf instance
Adding support to detect and remove previous bpf instance of /sysfs/bpf/tetragon directory. On start tetragon now: - detect existing '/sysfs/bpf/tetragon' (or any other configured path) - rename it to '/sysfs/bpf/tetragon_old' - loads configured policy - deletes '/sysfs/bpf/tetragon_old' directory Signed-off-by: Jiri Olsa <[email protected]>
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters