mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
v0.5.5 ships the EtcdDefrag and EtcdDefragPolicy API types (a controller plus a cron that stamps scheduled defrag runs). Vendor both CRDs into the etcd-operator-crds package and grant the manager ClusterRole the verbs the new controllers need: defragpolicies read/patch, defrags full CRUD, the two new /status subresources, and cluster-scoped event emission. Backport of #3968 to release-1.6. The automatic cherry-pick could not merge the etcd-operator-crds Makefile and left the conflict markers in the file; resolved by taking the five-CRD list the two new CRDs require. The comment that came with it on main describes an update target that counts annotations and swaps templates/ atomically — this branch has neither, so it is left out rather than carried in as a false description. Everything else applied unchanged. Signed-off-by: Andrey Kolkov <andrey.kolkov@aenix.io> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>