mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
## What this PR does This pr imports upstream fix for volume reattaching procedure - https://github.com/kubevirt/csi-driver/pull/143 ### Release note <!-- Write a release note: - Explain what has changed internally and for users. - Start with the same [label] as in the PR title - Follow the guidelines at https://github.com/kubernetes/community/blob/master/contributors/guide/release-notes.md. --> ```release-note [kubernetes] Fix dead-lock while reattaching a KubeVirt-CSI volume ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved volume management for virtual machines by adding checks to skip unnecessary attach or detach operations when the volume is already in the desired state. * **Tests** * Added new unit tests to verify optimized volume attach/detach workflows and ensure fast-path logic is functioning correctly. <!-- end of auto-generated comment: release notes by coderabbit.ai -->