mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
Anchor the KubevirtMachineTemplate sweep to the 6-hex content-hash suffix so a pool name that is a prefix of a sibling (md0 vs md0-large) no longer mis-adopts the sibling's KMT and deadlocks the migration. Adopt the worker objects before creating the child HelmRelease so helm-controller cannot start the child install into un-adopted objects and fail Helm ownership validation. Emit the same install/upgrade strategy (RetryOnFailure) and maxHistory cozystack-api sets, add a pre-flight release-name length check, and document the rollback path. Signed-off-by: Ivan Okhotnikov <xorokhotnikov@gmail.com>