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
CRDs need updates to accommodate authorizer-plugin support #3157
There are a few ways to handle this, but they all likely require a new version of the affected CRDs:
Possible Solutions
New CRD schema drops "inline" authz support, relying purely on a configmap-reference. Validation would remain at the code level but would be removed from the schema level.
We drop "configmap-reference" support and create CRD(s) for Authz configuration. The inline configuration would be generalized to accept an inline representation of the Authz configuration using RawExtensions. Likewise, the previous use cases for configmap-based Authz configuration would now use the new Authz CRD. Validation would remain at the code and inline schema levels, and is now also introduced at the "external reference" level, since we've replaced ConfigMaps with a CRD.
(*): While Proposal 3 looks appealing feature-wise, it should be pointed out that it is also redundant with the concept of a ConfigMap and goes against the grain a bit, so this fact should be considered as well.
Apologies for the long silence here, @ghaskins. This deserved an answer at the time and did not get one.
To close the loop on the decision: we landed something close to your Proposal 3, with Proposal 2's schema relaxation folded in. MCPAuthzConfig is now a dedicated CRD for backend-agnostic authorization, with a type field naming the authorizer backend (cedarv1, httpv1) and x-kubernetes-preserve-unknown-fields: true on the config body, so a new authorizer does not need a CRD schema change. Reference resolution landed in #5559 and the MCPRemoteProxy wiring in #5564.
What your issue actually asked for is only partly closed, though. The inline Cedar fields on the MCPServer CRD are still there, so the Cedar-isms you pointed at have not been generalized or deprecated on that surface.
Keeping this open for that remaining piece. Does MCPAuthzConfig cover your plugin use case in practice, or do the inline fields on MCPServer still get in your way? If they do, we would rather hear which of the two shapes you would want before we change that surface.
Activity
ghaskins commentedon Dec 24, 2025
(*): While Proposal 3 looks appealing feature-wise, it should be pointed out that it is also redundant with the concept of a ConfigMap and goes against the grain a bit, so this fact should be considered as well.
Add MCPAuthzConfig CRD for backend-agnostic authorization config
Add MCPAuthzConfig CRD for backend-agnostic authorization config
ChrisJBurns commentedon Jul 30, 2026
Apologies for the long silence here, @ghaskins. This deserved an answer at the time and did not get one.
To close the loop on the decision: we landed something close to your Proposal 3, with Proposal 2's schema relaxation folded in.
MCPAuthzConfigis now a dedicated CRD for backend-agnostic authorization, with atypefield naming the authorizer backend (cedarv1,httpv1) andx-kubernetes-preserve-unknown-fields: trueon the config body, so a new authorizer does not need a CRD schema change. Reference resolution landed in #5559 and the MCPRemoteProxy wiring in #5564.What your issue actually asked for is only partly closed, though. The inline Cedar fields on the MCPServer CRD are still there, so the Cedar-isms you pointed at have not been generalized or deprecated on that surface.
Keeping this open for that remaining piece. Does
MCPAuthzConfigcover your plugin use case in practice, or do the inline fields on MCPServer still get in your way? If they do, we would rather hear which of the two shapes you would want before we change that surface.