tailscale/k8s-operator
Irbe Krumina eabb424275
cmd/k8s-operator,docs/k8s: run tun mode proxies in privileged containers (#14262)
We were previously relying on unintended behaviour by runc where
all containers where by default given read/write/mknod permissions
for tun devices.
This behaviour was removed in https://github.com/opencontainers/runc/pull/3468
and released in runc 1.2.
Containerd container runtime, used by Docker and majority of Kubernetes distributions
bumped runc to 1.2 in 1.7.24 https://github.com/containerd/containerd/releases/tag/v1.7.24
thus breaking our reference tun mode Tailscale Kubernetes manifests and Kubernetes
operator proxies.

This PR changes the all Kubernetes container configs that run Tailscale in tun mode
to privileged. This should not be a breaking change because all these containers would
run in a Pod that already has a privileged init container.

Updates tailscale/tailscale#14256
Updates tailscale/tailscale#10814

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-12-03 07:01:14 +00:00
..
apis cmd/k8s-operator,docs/k8s: run tun mode proxies in privileged containers (#14262) 2024-12-03 07:01:14 +00:00
sessionrecording sessionrecording: implement v2 recording endpoint support (#14105) 2024-11-18 09:55:54 -08:00
api-docs-config.yaml go.{mod,sum},tstest/tools,k8s-operator,cmd/k8s-operator: autogenerate CRD API docs (#12884) 2024-07-29 11:50:27 +01:00
api.md cmd/k8s-operator,docs/k8s: run tun mode proxies in privileged containers (#14262) 2024-12-03 07:01:14 +00:00
conditions_test.go cmd/k8s-operator,k8s-operator,go.{mod,sum}: publish proxy status condition for annotated services (#12463) 2024-06-18 19:01:40 +01:00
conditions.go cmd/k8s-operator,k8s-operator: use default ProxyClass if set for ProxyGroup (#13720) 2024-10-08 17:34:34 +01:00
utils.go cmd/{k8s-operator,containerboot},k8s-operator: remove support for proxies below capver 95. (#13986) 2024-11-12 17:13:26 +00:00