You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do we need the tool config and the external auth controllers? #2662
The tool config and the external auth controllers both trigger a new server reconciliation by updating one annotation in the referencing mcpservers.
Anyway, the server controller also watches the external auth resources to trigger the server reconciliation when the external auth get updated:
Basically, this makes the external auth controller useless, IIUC.
Why not using the same watching mechanism for the tool config and get rid of both controllers at the end?
The controllers themselves aren't redundant — they own validation, Status.ConfigHash, the Valid condition, finalizers/deletion-protection, and reference counting, none of which the MCPServer's Watches(...) provides. The watch only wakes the server; the controller produces the state it reads.
What is redundant is the annotation-bump trigger, and that's already tracked (and assigned) in #4623 — drop the redundant pokes (ExternalAuth/Webhook), and add the missing MCPToolConfig watch before removing its poke.
Activity
ChrisJBurns commentedon Jun 24, 2026
The controllers themselves aren't redundant — they own validation,
Status.ConfigHash, theValidcondition, finalizers/deletion-protection, and reference counting, none of which the MCPServer'sWatches(...)provides. The watch only wakes the server; the controller produces the state it reads.What is redundant is the annotation-bump trigger, and that's already tracked (and assigned) in #4623 — drop the redundant pokes (ExternalAuth/Webhook), and add the missing
MCPToolConfigwatch before removing its poke.Closing as a duplicate of #4623.