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

kubevirt / containerized-data-importer / #5959
50%

Build:
DEFAULT BRANCH: main
Ran 23 Apr 2026 09:11PM UTC
Jobs 1
Files 159
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

23 Apr 2026 08:53PM UTC coverage: 49.561% (+0.02%) from 49.545%
#5959

push

travis-ci

web-flow
Add VDDK node selector override via annotation (#4096)

Introduce a new annotation `cdi.kubevirt.io/storage.pod.nodeSelector`
that allows overriding the CDI CR workload node selector for VDDK
importer pods. This enables scheduling VDDK imports on specific nodes
(e.g. ones with network access to the VMware host).

The annotation value is a JSON-encoded map[string]string that, when
present on the PVC, replaces the default NodeSelector from the CDI CR
while preserving tolerations and affinity. The override is applied only
when the import source is VDDK; all other import types and CDI pod types
(clone, upload, populator, cron) are unaffected.

Includes unit tests for annotation override, missing annotation
fallback, non-VDDK source ignoring the annotation, and invalid JSON
error handling.

Signed-off-by: yaacov <yzamir@redhat.com>

28 of 31 new or added lines in 1 file covered. (90.32%)

7 existing lines in 1 file now uncovered.

14944 of 30153 relevant lines covered (49.56%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
71.07
0.27% pkg/controller/import-controller.go

Coverage Regressions

Lines Coverage ∆ File
7
52.63
-9.21% pkg/util/prometheus/prometheus.go
Jobs
ID Job ID Ran Files Coverage
1 #5959.1 23 Apr 2026 09:11PM UTC 159
49.56
Source Files on build #5959
  • Tree
  • List 159
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c33d189e on github
  • Prev Build on main
  • Next Build on 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