mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-22 04:32:40 +09:00
Move the Recorder reconciler and its object specs into k8s-operator/reconciler/recorder, following the earlier ProxyClass, DNSConfig and nameserver moves, and switch it to the shared finalizer, resource tracker and CreateOrUpdate helpers. Hoist two duplicated helpers into tailscaled.PrefsFromStateSecret and reconciler.IsOptimisticLockError, and add k8s-operator/reconciler/reconcilertest for the test helpers each package had copied, including one fake Tailscale API client in place of four. No behaviour change; the Recorder's watches and labels are untouched. Fixes tailscale/corp#37086 Signed-off-by: David Bond <davidsbond93@gmail.com>