tailscale/cmd
Andrew Lytvynov c0c4791ce7
cmd/gitops-pusher: ignore previous etag if local acls match control (#13068)
In a situation when manual edits are made on the admin panel, around the
GitOps process, the pusher will be stuck if `--fail-on-manual-edits` is
set, as expected.

To recover from this, there are 2 options:
1. revert the admin panel changes to get back in sync with the code
2. check in the manual edits to code

The former will work well, since previous and local ETags will match
control ETag again. The latter will still fail, since local and control
ETags match, but previous does not.

For this situation, check the local ETag against control first and
ignore previous when things are already in sync.

Updates https://github.com/tailscale/corp/issues/22177

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-08-08 13:23:06 -07:00
..
addlicense
build-webclient
cloner
connector-gen
containerboot
derper cmd/derper: move 204 handler from package main to derphttp 2024-08-06 17:53:33 -07:00
derpprobe
dist
get-authkey
gitops-pusher cmd/gitops-pusher: ignore previous etag if local acls match control (#13068) 2024-08-08 13:23:06 -07:00
hello
k8s-nameserver
k8s-operator
mkmanifest
mkpkg
mkversion
nardump
natc
netlogfmt
nginx-auth
pgproxy
printdep
proxy-to-grafana
sniproxy
speedtest
ssh-auth-none-demo
stunc
stund
stunstamp
sync-containers
tailscale
tailscaled
testcontrol
testwrapper
tsconnect
tsidp cmd/tsidp: add funnel support (#12591) 2024-08-08 10:46:45 -04:00
tsshd
tta tstest/natlab/vnet: add start of virtual network-based NAT Lab 2024-08-07 09:37:15 -07:00
viewer
vnet tstest/natlab/vnet: add start of virtual network-based NAT Lab 2024-08-07 09:37:15 -07:00
xdpderper