Conversation
The mcp_servers section of the generated lightspeed-stack config
was hardcoded to only the two rhos-mcps entries (rhoso-ocp-tools,
rhoso-osp-tools), with no way to plug in other in-cluster MCP servers
such as korrel8r or a Prometheus MCP.
This commit adds additionalMCPServers option, containing a list of
{name, url, authorizationHeaders} entries appended to mcp_servers
independently of the rhoso_mcps feature flag, so it works even
when the rhos-mcps sidecar itself is disabled.
The authorizationHeaders is a free-form header-name -> mode map
mirroring lightspeed-stack's own authorization_headers schema,
since different MCP servers expect different header conventions
(e.g. korrel8r's plain Authorization: Bearer vs. rhos-mcps's
OCP_TOKEN/OS_TOKEN).
This is an experimental feature: lives under the unstable dev.* block
just like the existing rhosMCP options, no CRD schema change needed
since Dev is a RawExtension.
Assisted by: Claude Sonnet 5
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sdatko The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 26m 06s |
The mcp_servers section of the generated lightspeed-stack config was hardcoded to only the two rhos-mcps entries (rhoso-ocp-tools, rhoso-osp-tools), with no way to plug in other in-cluster MCP servers such as korrel8r or a Prometheus MCP.
This commit adds additionalMCPServers option, containing a list of {name, url, authorizationHeaders} entries appended to mcp_servers independently of the rhoso_mcps feature flag, so it works even when the rhos-mcps sidecar itself is disabled.
The authorizationHeaders is a free-form header-name -> mode map mirroring lightspeed-stack's own authorization_headers schema, since different MCP servers expect different header conventions (e.g. korrel8r's plain Authorization: Bearer vs. rhos-mcps's OCP_TOKEN/OS_TOKEN).
This is an experimental feature: lives under the unstable dev.* block just like the existing rhosMCP options, no CRD schema change needed since Dev is a RawExtension.
Assisted by: Claude Sonnet 5