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

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

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 11:12AM 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

26 Oct 2026 10:58AM UTC coverage: 50.317% (+0.02%) from 50.293%
#6314

push

travis-ci

web-flow
Add storage capabilities for rancher.io/local-path (#4319)

* Add storage capabilities for rancher.io/local-path

local-path-provisioner is the default provisioner in k3s and kind,
and the kind provider in cluster-up uses it for its default
StorageClass. It has no entry in CapabilitiesByProvisionerKey, so its
StorageProfiles get no claimPropertySets and the Recognized condition
is False with UnrecognizedProvisioner. A DataVolume that uses
spec.storage without accessModes on such a StorageClass then fails
with "no accessMode specified in StorageProfile".

local-path-provisioner only accepts ReadWriteOnce and ReadWriteOncePod
for node paths and always creates Filesystem PVs, so advertise
ReadWriteOnce with Filesystem.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: YoungjuKim <fjvbn2003@gmail.com>

* Share one capability helper for node-local path provisioners

hostpath-provisioner (CSI and legacy), minikube-hostpath and
local-path-provisioner all back a volume with a directory on one
node, so each of them only offers ReadWriteOnce Filesystem volumes.
Use a single createLocalPathCapabilities helper for them instead of
repeating the literal, as suggested in review.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: YoungjuKim <fjvbn2003@gmail.com>

* Drop redundant local-path unit tests

rancher.io/local-path only reuses createLocalPathCapabilities, which the
existing hostpath-provisioner tests already cover, so the extra reconcile
test and the recognized-provisioner table entry did not exercise any new
logic.

Signed-off-by: YoungjuKim <fjvbn2003@gmail.com>
Assisted-by: Claude <noreply@anthropic.com>

---------

Signed-off-by: YoungjuKim <fjvbn2003@gmail.com>

0 of 3 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

15554 of 30912 relevant lines covered (50.32%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% pkg/storagecapabilities/storagecapabilities.go

Coverage Regressions

Lines Coverage ∆ File
2
59.07
-0.19% pkg/importer/vddk-datasource_amd64.go
Jobs
ID Job ID Ran Files Coverage
1 #6314.1 26 Oct 2026 11:12AM UTC 159
50.32
Source Files on build #6314
  • Tree
  • List 159
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd4146ac on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc