Hi Manuri,
If you successfully imported the image using datavolume, you should have that datavolume in your namespace.
To clarify the documentation, it is a two-step example compressed in one:
1) the datavolumetemplates tell the controller how to create the datavolume, but you already have that one created
2) describes how the VMI should look. The important part is
spec:
domain:
devices:
disks:
- disk:
bus: virtio
name: datavolumedisk1
resources:
requests:
memory: 64M
volumes:
- dataVolume:
name: alpine-dv
name: datavolumedisk1
where alpine-dv is the name of datavolume created by the template. In your case it would be the one you created by import.
The datavolumedisk1 is the name of the disk you create in volumes section, you pair to the VM in
devices.disks.disk.name Once it is assigned the VMI will be created and it will have assigned the datavolume you want.
Hope this helps,
Kind regards,
Petr