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

kubevirt / hyperconverged-cluster-operator / 23269428446
80%

Build:
DEFAULT BRANCH: main
Ran 18 Mar 2026 10:12PM UTC
Jobs 1
Files 133
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 Mar 2026 10:07PM UTC coverage: 79.753% (+0.2%) from 79.56%
23269428446

push

github

web-flow
CNV-81798: V1 API: Group the virtualization configuration fields under the new `spec.virtualization` field (#4100)

* Group the virtualization configuration fields under the new `spec.virtualization` field

In v1beta1, the following fields are directly under spec. In v1, they moved
under the new spec.virtualization field:
* liveMigrationConfig
* permittedHostDevices
* mediatedDevicesConfiguration
* workloadUpdateStrategy
* obsoleteCPUs:
   * The field is renamed to obsoleteCPUModels
   * The field type changed to a list of strings, and the content is the
     v1beta1's obsoleteCPUs.cpuModels field.
* evictionStrategy
* virtualMachineOptions (See below for changes to this field)
* higherWorkloadDensity
* liveUpdateConfiguration
* ksmConfiguration
* roleAggregationStrategy
* hypervisors
* resourceRequirements.vmiCPUAllocationRatio
* resourceRequirements.autoCPULimitNamespaceLabelSelector

VirtualMachineOptions
In v1beta1, the following fields are directly under spec. In v1, they moved
under the spec.virtualization.virtualMachineOptions field:
* defaultCPUModel
* defaultRuntimeClass

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add conversion of the new `spec.virtualization` field

from and to v1beta1 spec fields.

If a v1 and a v1beta1 virtualization's fields are identical,
use the v1 field in v1beta1 and remove the original field, to ease the
conversion.

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* update controllers code to match the api changes

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* update the mutating wh with the new API structure

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* update the validating wh with the new API structure

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* update e2e tests to match the api changes

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* added fuzzing test for API conversion

Signed-off-by: Nahshon Unna Tsameret <nunnats... (continued)

177 of 189 new or added lines in 5 files covered. (93.65%)

9820 of 12313 relevant lines covered (79.75%)

2.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
91.71
1.01% api/v1beta1/conversion.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 23269428446.1 18 Mar 2026 10:12PM UTC 133
79.75
GitHub Action Run
Source Files on build 23269428446
  • Tree
  • List 133
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23269428446
  • 5aa1bee1 on github
  • Prev Build on main (#23259861565)
  • Next Build on main (#23305500761)
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