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

kubernetes-sigs / cluster-api-provider-kubevirt / 20779805099
38%
main: 38%

Build:
Build:
LAST BUILD BRANCH: r0.11-revert-v1-capi-api-to-beta1
DEFAULT BRANCH: main
Ran 07 Jan 2026 11:24AM UTC
Jobs 1
Files 27
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

07 Jan 2026 11:21AM UTC coverage: 37.663% (-0.6%) from 38.297%
20779805099

Pull #360

github

qinqon
fix: use Discovery API to detect CAPI versions without CRD RBAC

Replace direct CRD reading with Kubernetes Discovery API to determine
which Cluster API versions are available. The Discovery API is accessible
to all authenticated users via the system:discovery ClusterRole, eliminating
the need for explicit RBAC permissions on CustomResourceDefinitions.

This reduces the security footprint by removing unnecessary CRD access
permissions while maintaining the same functionality for detecting and
supporting both v1beta1 and v1beta2 CAPI resources.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Pull Request #360: fix: use Discovery API to detect CAPI versions without CRD RBAC

0 of 22 new or added lines in 3 files covered. (0.0%)

4 existing lines in 1 file now uncovered.

1096 of 2910 relevant lines covered (37.66%)

1.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
38.62
0.0% controllers/kubevirtcluster_controller.go
1
69.95
0.0% controllers/kubevirtmachine_controller.go
20
0.0
-93.75% pkg/crds/crds.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
0.0
-93.75% pkg/crds/crds.go
Jobs
ID Job ID Ran Files Coverage
1 20779805099.1 07 Jan 2026 11:24AM UTC 27
37.66
GitHub Action Run
Source Files on build 20779805099
  • Tree
  • List 27
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #360
  • PR Base - main (#20754567476)
  • Delete
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