Files
IvanHunters 501ec15e40 fix(kubevirt-cdi): drop global cloneStrategyOverride
The CDI CR pinned cloneStrategyOverride to csi-clone globally
(introduced with the golden-disks feature, switched from snapshot to
csi-clone afterwards). That override bypassed CDI's same-StorageClass
guard, so a cross-StorageClass clone (e.g. a vm-disk created from a
golden image in a replicated StorageClass into a node-local one) was
issued as csi-clone and could never satisfy on the target driver: the
temporary clone PVC stayed unbound forever and no error surfaced.

Drop the override and let CDI pick the clone strategy per
StorageProfile. The same-class path still goes through CSI-snapshot
clones (fast); the cross-class path falls back to host-assisted copy
(slow but correct).

Closes #2908

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-06-15 12:41:00 +03:00
..