mirror of https://github.com/tailscale/tailscale/
* cmd/containerboot: guard kubeClient against nil dereference (#14357) A method on kc was called unconditionally, even if was not initialized, leading to a nil pointer dereference when TS_SERVE_CONFIG was set outside Kubernetes. Add a guard symmetric with other uses of the kubeClient. Signed-off-by: Bjorn Neergaard <bjorn@neersighted.com> (cherry picked from commitrelease-branch/1.788b1d01161b) * cmd/containerboot: don't attempt to write kube Secret in non-kube environments (#14358) Signed-off-by: Irbe Krumina <irbe@tailscale.com> (cherry picked from commit0cc071f154) * cmd/containerboot: don't attempt to patch a Secret field without permissions (#14365) Signed-off-by: Irbe Krumina <irbe@tailscale.com> (cherry picked from commit6e552f66a0) Updates tailscale/tailscale#14354
parent
3e3d5d8c68
commit
6e0f168db0
Loading…
Reference in New Issue