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>
pull/12313/head
Irbe Krumina 6 months ago committed by GitHub
parent f227083539
commit 1ec0273473
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save