diff options
| author | Irbe Krumina <irbe@tailscale.com> | 2024-03-14 20:26:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-14 20:26:20 +0000 |
| commit | ea55f963105e35df10d09bc69ccc4c9688b81a60 (patch) | |
| tree | a3be4014442ec5a55996b715121b2ee17a21f29c /control/controlknobs | |
| parent | cf8948da5f408ba75d95d7b7952e0480530e1d7a (diff) | |
| download | tailscale-ea55f963105e35df10d09bc69ccc4c9688b81a60.tar.xz tailscale-ea55f963105e35df10d09bc69ccc4c9688b81a60.zip | |
cmd/tailscale/cli: fix configuring partially empty kubeconfig (#11417)
When a user deletes the last cluster/user/context from their
kubeconfig via 'kubectl delete-[cluster|user|context] command,
kubectx sets the relevant field in kubeconfig to 'null'.
This was breaking our conversion logic that was assuming that the field
is either non-existant or is an array.
Updates tailscale/corp#18320
Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
