docs/k8s: fix subnet router manifests (#12305)

In https://github.com/tailscale/tailscale/pull/11363
I changed the subnet router manifest to run in tun
mode (for performance reasons), but did not
change the security context to give it net_admin,
which is required to for the tailscale socket.

Updates tailscale/tailscale#12083

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
Irbe Krumina 2024-05-31 19:15:02 +01:00 committed by GitHub
parent f227083539
commit 1ec0273473
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,5 +29,6 @@ spec:
- name: TS_ROUTES
value: "{{TS_ROUTES}}"
securityContext:
runAsUser: 1000
runAsGroup: 1000
capabilities:
add:
- NET_ADMIN