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

stacklok / toolhive / 24207149021

09 Apr 2026 06:39PM UTC coverage: 65.052% (+0.04%) from 65.008%
24207149021

push

github

web-flow
Add authServerRef CRD types, controller logic, and unit tests (#4644)

The embedded auth server currently competes with outgoing auth types (like AWS STS) for the single `externalAuthConfigRef` slot on MCPServer and MCPRemoteProxy CRDs. Because `MCPExternalAuthConfig` enforces mutually exclusive types, users cannot configure both an embedded auth server for incoming client authentication and an outgoing token exchange on the same resource. This PR adds a dedicated `authServerRef` field to both CRDs, separating the embedded auth server from `externalAuthConfigRef` so both can coexist.

307 of 483 new or added lines in 9 files covered. (63.56%)

6 existing lines in 3 files now uncovered.

56446 of 86770 relevant lines covered (65.05%)

60.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.21
/cmd/thv-operator/pkg/controllerutil/authserver.go


Source Not Available

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