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

stacklok / toolhive / 24088824333
65%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 03:15PM UTC
Jobs 1
Files 604
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

07 Apr 2026 03:09PM UTC coverage: 65.168% (+0.001%) from 65.167%
24088824333

push

github

web-flow
Set LeaderElectionNamespace from POD_NAMESPACE in operator (#4637)

Without an explicit LeaderElectionNamespace, controller-runtime falls
back to detecting the namespace from the service account token mount.
If that detection fails, it defaults to the "default" namespace, where
the namespace-scoped leader election RBAC Role does not exist, causing
leader election to fail.

The POD_NAMESPACE env var is already injected via the Kubernetes
downward API in the Helm deployment template. Move its lookup earlier
and wire it into the manager options so the lease is always created in
the correct namespace.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 9 new or added lines in 1 file covered. (0.0%)

54684 of 83912 relevant lines covered (65.17%)

63.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
8.8
-0.04% cmd/thv-operator/main.go
Jobs
ID Job ID Ran Files Coverage
1 24088824333.1 07 Apr 2026 03:15PM UTC 604
65.17
GitHub Action Run
Source Files on build 24088824333
  • Tree
  • List 604
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24088824333
  • e3aa2243 on github
  • Prev Build on main (#24088158559)
  • Next Build on main (#24088984050)
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