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

kubevirt / hyperconverged-cluster-operator / 20432692879
76%

Build:
DEFAULT BRANCH: main
Ran 22 Dec 2025 01:07PM UTC
Jobs 1
Files 113
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

22 Dec 2025 01:03PM UTC coverage: 76.514% (-0.1%) from 76.642%
20432692879

push

github

web-flow
Change VAP's owner to the hyperconverged CRD (#3924)

* Change VAP's owner to the hyperconverged CRD

The validating admission policy and binding owner reference is the HCO
deployment, so they should be auto removed when the HCO deployment is
removed.

But this is not working, because the deployment is namespace scoped
while the policy and the binding are cluster scope, and this is not
supported by kubernetes.

This PR changes the owner reference to the hyperconverged CRD. CRDs are
cluster scoped so now the deletion works. It also makes sense, because
the policy is a validation of a resource, defined by the CRD.

Now, when deleting the CRD (after deleting the HCO deployment), the
policy and the binding are removed as well, automatically.

Also, fixed a potential bug in the policy and binding predicates, that
may ignore delete event.

Signed-off-by: Nahshon Unna Tsameret <nahsh.ut@gmail.com>

* adding a missing log

log when updating the labels of the bearer token secret.

Signed-off-by: Nahshon Unna Tsameret <nahsh.ut@gmail.com>

---------

Signed-off-by: Nahshon Unna Tsameret <nahsh.ut@gmail.com>

17 of 44 new or added lines in 3 files covered. (38.64%)

8327 of 10883 relevant lines covered (76.51%)

1.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
50.37
1.59% controllers/admissionpolicy/admission_policy_controller.go
19
70.13
-19.87% controllers/admissionpolicy/resources.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 20432692879.1 22 Dec 2025 01:07PM UTC 113
76.51
GitHub Action Run
Source Files on build 20432692879
  • Tree
  • List 113
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20432692879
  • 667fe0ef on github
  • Prev Build on main (#20430967451)
  • Next Build on main (#20439684938)
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