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

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

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 06:42PM 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

05 Aug 2026 06:26PM UTC coverage: 49.744% (-0.05%) from 49.791%
#6165

push

travis-ci

web-flow
Add certificate validation support for VDDK importer (#3947)

* Add certificate validation support for VDDK importer

- Add CertConfigMap field to DataVolumeSourceVDDK API (already in types.go)
- Update UpdateVDDKAnnotations to copy CertConfigMap to PVC annotations
- Reuse existing createCertPool function from http-datasource.go instead of duplicating logic
- Modify createVMwareClient to accept certDir and insecureTLS parameters
- Update VDDK data source to use certificates when provided
- Update importer entry point to pass certDir and insecureTLS
- Update architecture stubs and tests to match new signatures
- Update documentation to include certConfigMap field

This enables secure TLS connections to VMware vCenter/ESXi when
certificates are provided via ConfigMap, while maintaining backward
compatibility with insecure connections when needed.

Signed-off-by: gcasey <gcasey@redhat.com>

* Add certConfigMap to OpenAPI/CRD schemas and update VDDK docs

Signed-off-by: Gwen Casey <gcasey@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Refactor createVMwareClient to use config struct (fix SonarCloud S107)

Signed-off-by: Gwen Casey <gcasey@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix SonarCloud S107: refactor VDDK and test helpers to use config structs

- Add VDDKDataSourceConfig and refactor NewVDDKDataSource/createVddkDataSource
- Add VDDKImportParams and refactor NewDataVolumeWithVddkImportAndCertConfigMap
- Update arm64/s390x stubs, importer cmd, and tests

Signed-off-by: Gwen Casey <gcasey@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Regenerate OpenAPI swagger with certConfigMap in DataVolumeSourceVDDK

Align api/openapi-spec/swagger.json with codegen from staging API types
so that make generate-verify passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Gwen Casey <gcasey@redhat.com>

* bazel: add vddk-datasource.go to pkg/importer BUILD.bazel

Co-authored-by: Cursor <cursorag... (continued)

39 of 76 new or added lines in 3 files covered. (51.32%)

11 existing lines in 2 files now uncovered.

15151 of 30458 relevant lines covered (49.74%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
29
63.15
-0.59% pkg/importer/vddk-datasource_amd64.go
5
0.0
0.0% cmd/cdi-importer/importer.go
3
14.54
-0.03% pkg/controller/common/util.go

Coverage Regressions

Lines Coverage ∆ File
7
52.63
-9.21% pkg/util/prometheus/prometheus.go
4
80.3
-0.99% pkg/importer/http-datasource.go
Jobs
ID Job ID Ran Files Coverage
1 #6165.1 05 Aug 2026 06:42PM UTC 159
49.74
Source Files on build #6165
  • Tree
  • List 159
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 938af7c5 on github
  • Prev 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