fix(kubernetes): disable CDI populator for blank DataVolumes

Add cdi.kubevirt.io/storage.usePopulator: "false" annotation to
the dataVolumeTemplate to prevent CDI volume population flow.

The populator mechanism creates an intermediate "prime" PVC and
rebinds the PV, which causes ClaimMisbound errors with LINSTOR CSI.
The legacy import path writes directly to the target PVC.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Arsolitt <arsolitt@gmail.com>
This commit is contained in:
Arsolitt 2026-04-22 13:47:39 +03:00
parent 90e4aba4ef
commit 7b7686096e
No known key found for this signature in database
GPG key ID: 4D8302CE6A9247C4

View file

@ -23,6 +23,8 @@ spec:
dataVolumeTemplates:
- metadata:
name: disk-kubelet
annotations:
cdi.kubevirt.io/storage.usePopulator: "false"
spec:
source:
blank: {}