fix(netbird-agent): allow read root fs and add sysctl

The agent seems to assume it's running with full root privileges,
something we don't want. Accommodate by changing manually.
This commit is contained in:
Vegard Hagen
2025-01-05 14:56:24 +01:00
parent a89e51b027
commit c9ffd698c8
3 changed files with 17 additions and 6 deletions
@@ -1,4 +1,8 @@
machine:
kubelet:
extraArgs:
# Needed for Netbird agent https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls
allowed-unsafe-sysctls: net.ipv4.conf.all.src_valid_mark
network:
hostname: ${hostname}
nodeLabels: