Files
David Bond 3312a475ed cmd/tailscale/cli: add --stdout flag to configure kubeconfig
GUI builds of the macOS client run in a sandbox that can only reach
~/.kube/config, so "tailscale configure kubeconfig" fails for users who
keep several kubeconfigs, or keep one somewhere else.

Add a --stdout flag that prints a complete, fresh kubeconfig for the
target instead of updating the kubeconfig file, so the shell can
redirect it anywhere. It reads and writes no files. Without the flag,
behaviour is unchanged. New tests cover both modes.

RELNOTE: tailscale configure kubeconfig can print a kubeconfig with --stdout

Fixes #18464

Change-Id: I043c07f83f2a2df8e44cb3c956227de5d2f0ade3
Signed-off-by: David Bond <[email protected]>
2026-11-23 04:23:36 +00:00
..
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00