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

kubevirt / hyperconverged-cluster-operator / 17811471054
77%
main: 76%

Build:
Build:
LAST BUILD BRANCH: metrics-docs
DEFAULT BRANCH: main
Ran 17 Sep 2025 09:46PM UTC
Jobs 1
Files 106
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

17 Sep 2025 09:43PM UTC coverage: 77.206% (+0.06%) from 77.147%
17811471054

push

github

web-flow
On metric token refresh, also delete the ServiceMonitor (#3765)

Currently, on token refresh, we're recreating the secret. But Prometheus
does not fetch the new secret, and fails to access the metrics endpoint,
rceiving 401 from the pod.

This PR fixes the issue by also remove the ServiceMonitor, letting the
next reconcile loop to re-create it, to force Prometheus, afer a few
minutes, to re fetch the token from the secret.

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

53 of 57 new or added lines in 7 files covered. (92.98%)

7902 of 10235 relevant lines covered (77.21%)

1.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.0
controllers/alerts/refresher.go
2
94.32
-1.73% controllers/alerts/serviceMonitor.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 17811471054.1 17 Sep 2025 09:46PM UTC 106
77.21
GitHub Action Run
Source Files on build 17811471054
  • Tree
  • List 106
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17811471054
  • c875c3d5 on github
  • Prev Build on release-1.16 (#17711101673)
  • Next Build on release-1.16 (#17838903832)
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