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

kubevirt / hyperconverged-cluster-operator / 26046296895
80%

Build:
DEFAULT BRANCH: main
Ran 18 May 2026 04:31PM UTC
Jobs 1
Files 143
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 May 2026 04:27PM UTC coverage: 80.481%. Remained the same
26046296895

push

github

web-flow
Make the v1 API version the stored one (#4254)

* make v1 the stored API version in the CRD

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

* Update stored API version

makes sure the HyperConverged CR is stored in v1 API version format.
This commit is based on the article in the Kubernetes documentation:
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#upgrade-existing-objects-to-a-new-stored-version

We are using option 2 from this article: re-write the HyperConverged
CR in v1 API version format, then update the HyperConverged CRD status
to only have v1 in its storedVersions field.

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

* Add e2e test to verify HyperConverged CR is stored as v1 in etcd

Validates that the ensureAPIv1 startup logic works correctly by checking:
1. The CRD status.storedVersions contains only "v1"
2. The actual object in etcd has apiVersion hco.kubevirt.io/v1

The test works on both plain K8s (kubevirtci) and OpenShift by detecting
the cluster type and using the appropriate etcd pod namespace, selector,
and certificate paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* default the v1 version of the cluster-configuration document

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

* remove test for obsolete behavior

Remove the test that checks the usage of the `MediatedDevicesTypes`, as
this is no longer supported.

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

* move cmd/common to v1

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

---------

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

10436 of 12967 relevant lines covered (80.48%)

2.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 26046296895.1 18 May 2026 04:31PM UTC 143
80.48
GitHub Action Run
Source Files on build 26046296895
  • Tree
  • List 143
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26046296895
  • 485f9352 on github
  • Prev Build on main (#26030605154)
  • Next Build on main (#26054717133)
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