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

kubevirt / hyperconverged-cluster-operator / 17041982073
76%

Build:
DEFAULT BRANCH: main
Ran 18 Aug 2025 01:31PM UTC
Jobs 1
Files 102
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 Aug 2025 01:26PM UTC coverage: 77.365% (+0.4%) from 76.948%
17041982073

push

github

web-flow
Fix the Webhook's metrics endpoint (#3708)

* Move the APIServer controller into sub-pkg

The APIServer controller is currenlty the only webhook controller.
In order to later add another webhook controller, move the webhook
controller files into the new
"controllers/webhooks/apiserver-controller" sub-package.

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

* Expose several functions and consts in the alerts pkg

In order to share code with the new WH bearer token reconciler, expose
several functions and consts.

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

* Add new Bearer token controller to the WH

The metrics endpoint in the operator and the webhook are protected with
a bearer token. However, the creation of the related resources are only
done for the operator. That makes the webhook metrics endpoint non-accessible.

This commit adds a controller to the webhook, to ceate and reconcile the
missing resources.

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

* add e2e test to validate the WH bearer token

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

* fix bug: remove 3 left over services after uninstalling HCO

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

---------

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

270 of 321 new or added lines in 13 files covered. (84.11%)

7803 of 10086 relevant lines covered (77.36%)

1.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.51
0.26% controllers/alerts/service.go
1
86.32
0.04% pkg/util/cluster.go
3
87.5
controllers/webhooks/bearer-token-controller/secret.go
5
93.83
controllers/webhooks/bearer-token-controller/bearer_token_controller.go
41
3.02
-0.01% pkg/components/components.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 17041982073.1 18 Aug 2025 01:31PM UTC 102
77.36
GitHub Action Run
Source Files on build 17041982073
  • Tree
  • List 102
  • Changed 10
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17041982073
  • 04c555d3 on github
  • Prev Build on main (#17038199643)
  • Next Build on main (#17059044908)
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