mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
kubevirt/csi-driver cb4770e4e475 adds the flag so the driver can run against KubeVirt without the deprecated HotplugVolumes gate: with it off, a volume missing from VM.spec is not unplugged through the VMI-level removevolume on a VM-owned VMI, which virt-api rejects once that gate is gone. Bump to it and hand the flag to the upstream controller service. The flag defaults to true, which keeps the detach path as it was. cb4770e4e475 is the previous pin plus that one change. The wrapper's own hot-unplug override goes. It was a backport of kubevirt/csi-driver#184, and the previous pin already contained that change: upstream detaches from the VMI when the VM is gone and waits for the VMI status to drop the volume before returning, so the wrapper's re-check never found it attached. Keeping it would have meant a second copy of the new ownership rule behind a branch nothing reaches. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd