• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubevirt / containerized-data-importer / #5790
49%
main: 49%

Build:
Build:
LAST BUILD BRANCH: autoupdate
DEFAULT BRANCH: main
Ran 22 Jan 2026 01:49PM UTC
Jobs 1
Files 157
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jan 2026 01:41PM UTC coverage: 49.487% (+0.03%) from 49.454%
#5790

Pull #3991

travis-ci

noamasu
Add provisioner-aware DataImportCron configuration via StorageProfile annotations

Some storage provisioners have specific requirements when creating boot source snapshots. For example, GKE Persistent Disk needs a VolumeSnapshotClass with snapshot-type: images parameter, and snapshots must be taken from an RWO PVC.
This change makes CDI automatically detect these provisioner-specific needs and configure DataImportCron accordingly.
The StorageProfile controller now reconciles two new annotations based on the underlying provisioner: cdi.kubevirt.io/useReadWriteOnceForDataImportCron signals that RWO should be used for access mode, and cdi.kubevirt.io/snapshotClassForDataImportCron specifies which VolumeSnapshotClass to use for boot source snapshots.
The DataImportCron controller watches these annotations and ensures the correct VolumeSnapshotClass and access mode are used.

Signed-off-by: Noam Assouline <nassouli@redhat.com>
Pull Request #3991: Add provisioner-aware VolumeSnapshotClass selection and RWO access mode for DataImportCron

80 of 141 new or added lines in 3 files covered. (56.74%)

10 existing lines in 2 files now uncovered.

14709 of 29723 relevant lines covered (49.49%)

0.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
68.61
1.19% pkg/controller/storageprofile-controller.go
22
65.86
-0.31% pkg/controller/dataimportcron-controller.go
28
0.0
0.0% pkg/storagecapabilities/storagecapabilities.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
62.42
-0.26% pkg/importer/vddk-datasource_amd64.go
8
65.86
-0.31% pkg/controller/dataimportcron-controller.go
Jobs
ID Job ID Ran Files Coverage
1 #5790.1 22 Jan 2026 01:49PM UTC 157
49.49
Source Files on build #5790
  • Tree
  • List 157
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3991
  • PR Base - main (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc