tailscale/tailcfg
Tom Proctor 5f22f72636
hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826)
Our existing container-detection tricks did not work on Kubernetes,
where Docker is no longer used as a container runtime. Extends the
existing go build tags for containers to the other container packages
and uses that to reliably detect builds that were created by Tailscale
for use in a container. Unfortunately this doesn't necessarily improve
detection for users' custom builds, but that's a separate issue.

Updates #13825

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
2024-10-15 19:38:11 +01:00
..
c2ntypes.go posture: add network hardware addresses to posture identity 2024-07-10 18:28:30 +01:00
derpmap.go all: make more tests pass/skip in airplane mode 2024-05-06 09:19:53 -07:00
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 2023-10-11 23:59:42 -07:00
tailcfg_clone.go tailcfg: add AcceptEnv field to SSHRule (#13523) 2024-09-22 20:15:26 -06:00
tailcfg_test.go kube,tailcfg: store parsed recorder tags in a separate field (#12429) 2024-06-11 22:50:57 +01:00
tailcfg_view.go tailcfg: add AcceptEnv field to SSHRule (#13523) 2024-09-22 20:15:26 -06:00
tailcfg.go hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826) 2024-10-15 19:38:11 +01:00
tka.go tailcfg: add RPC structs for /tka/affected-sigs 2023-02-21 21:58:38 +00:00