You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Irbe Krumina 8cc2738609
cmd/{containerboot,k8s-operator}: store proxy device ID early to help with cleanup for broken proxies (#12425)
* cmd/containerboot: store device ID before setting up proxy routes.

For containerboot instances whose state needs to be stored
in a Kubernetes Secret, we additonally store the device's
ID, FQDN and IPs.
This is used, between other, by the Kubernetes operator,
who uses the ID to delete the device when resources need
cleaning up and writes the FQDN and IPs on various kube
resource statuses for visibility.

This change shifts storing device ID earlier in the proxy setup flow,
to ensure that if proxy routing setup fails,
the device can still be deleted.

Updates tailscale/tailscale#12146

Signed-off-by: Irbe Krumina <irbe@tailscale.com>

* code review feedback

Signed-off-by: Irbe Krumina <irbe@tailscale.com>

---------

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
5 months ago
..
addlicense
build-webclient
cloner
connector-gen
containerboot cmd/{containerboot,k8s-operator}: store proxy device ID early to help with cleanup for broken proxies (#12425) 5 months ago
derper net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
derpprobe
dist
get-authkey
gitops-pusher
hello
k8s-nameserver
k8s-operator cmd/{containerboot,k8s-operator}: store proxy device ID early to help with cleanup for broken proxies (#12425) 5 months ago
mkmanifest
mkpkg
mkversion
nardump
natc
netlogfmt
nginx-auth
pgproxy
printdep
proxy-to-grafana
sniproxy
speedtest
ssh-auth-none-demo
stunc cmd/stunc: support user-specified port (#12469) 5 months ago
stund net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
stunstamp
sync-containers
tailscale cmd/tailscale/cli: do not allow update --version on macOS (#12508) 5 months ago
tailscaled net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
testcontrol
testwrapper
tsconnect
tsidp
tsshd
viewer cmd/viewer,type/views: add MapSlice for maps of slices 5 months ago
xdpderper derp/xdp,cmd/xdpderper: initial skeleton (#12390) 5 months ago