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

kubevirt / containerized-data-importer / #6373
51%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 10:16PM UTC
Jobs 1
Files 160
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

18 Nov 2026 10:02PM UTC coverage: 50.536% (+0.2%) from 50.341%
#6373

push

travis-ci

web-flow
Sign worker metrics certificates with CDI CA (#4330)

* Sign importer and cloner metrics certificates with CDI CA

Replace self-signed Prometheus certificates with certificates issued
by the existing CDI upload server signer.

Inject the server certificate generator into the import and clone
reconcilers and use the configured server certificate duration.
Preserve Secret naming, labels, ownership and create-only behavior.

Add unit coverage for certificate data, generator arguments, error
propagation and preservation of existing Secrets.

Client-side TLS verification remains unchanged.

Signed-off-by: Paolo Elefante <pelefant@redhat.com>

* Sign forklift populator metrics certificates with CDI CA

Generate oVirt and OpenStack worker metrics certificates in the
forklift controller using the existing CDI upload server signer and
configured server certificate duration.

Mount the certificate Secret into each worker and load it from the
shared Prometheus certificate directory instead of generating
self-signed certificates in the binaries.

Add unit coverage for certificate provisioning, reconciliation states
and preservation of filesystem mounts and block volume devices.

Client-side TLS verification remains unchanged.

Signed-off-by: Paolo Elefante <pelefant@redhat.com>

* Centralize worker metrics certificate provisioning

Share certificate configuration lookup and Secret provisioning across
the importer, clone and forklift reconcilers.

Move certificate configuration defaulting into controller/common and
keep the operator helper as a delegating wrapper. Preserve existing
defaulting semantics, phase guards and reconciliation behavior.

Add coverage for partial configurations, custom durations and lookup
errors that must prevent certificate generation.

Signed-off-by: Paolo Elefante <pelefant@redhat.com>

* Address metrics certificate provisioning review feedback

Return an error when no active CDI resource exists and merge worker
metrics certificate prov... (continued)

55 of 107 new or added lines in 12 files covered. (51.4%)

4 existing lines in 3 files now uncovered.

15661 of 30990 relevant lines covered (50.54%)

0.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
0.0
pkg/util/cert/generator/test/generator.go
13
74.58
0.12% pkg/controller/import-controller.go
7
0.0
0.0% cmd/cdi-controller/controller.go
3
75.32
0.24% pkg/controller/clone-controller.go
2
55.32
0.93% cmd/openstack-populator/openstack-populator.go
2
0.0
0.0% cmd/ovirt-populator/ovirt-populator.go
1
2.93
0.0% cmd/cdi-cloner/clone-source.go
1
0.0
0.0% cmd/cdi-importer/importer.go
1
64.02
6.26% pkg/controller/populators/forklift-populator.go
1
0.0
0.0% pkg/operator/api.go

Coverage Regressions

Lines Coverage ∆ File
2
93.06
7.34% pkg/util/prometheus/prometheus.go
1
55.32
0.93% cmd/openstack-populator/openstack-populator.go
1
0.0
0.0% cmd/ovirt-populator/ovirt-populator.go
Jobs
ID Job ID Ran Files Coverage
1 #6373.1 18 Nov 2026 10:16PM UTC 160
50.54
Source Files on build #6373
  • Tree
  • List 160
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 631c1014 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