Skip to content

Commit cc71d8f

Browse files
authored
Merge pull request #477 from nocturo/fix/bpfmount
Fix overlaying bpf mount
2 parents 9fca629 + 22f0229 commit cc71d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/bpfman-deployment/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
- -xc
4848
- |
4949
#!/bin/sh
50-
if ! /bin/mount | /bin/grep -q 'bpffs on /sys/fs/bpf'; then
50+
if ! /usr/bin/findmnt --noheadings --types bpf /sys/fs/bpf >/dev/null 2>&1; then
5151
/bin/mount bpffs /sys/fs/bpf -t bpf
5252
fi
5353
securityContext:

0 commit comments

Comments
 (0)