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
Docs update needed: Document caBundleRef for custom CA certificates in OIDC config #466
Commit: 1853ae98069b6238d599d7b7394bf8ddd2b19ea3 in stacklok/toolhive
PR: #3391
Author: @jhrozek
Summary
The MCPServer CRD gains a new caBundleRef field (on both InlineOIDCConfig and ConfigMapOIDCRef) that auto-mounts a CA certificate ConfigMap for OIDC token validation against issuers with non-public certificates (e.g., corporate Keycloak instances). The existing thvCABundlePath field is deprecated.
Document caBundleRef field for custom CA certificates; add deprecation note for thvCABundlePath; add example for corporate IdP with custom CA
Suggested Changes
Add a new section or subsection under the OIDC authentication approaches explaining how to use caBundleRef when the OIDC provider uses a non-public CA (e.g., corporate Keycloak with self-signed or internal CA)
Show an example MCPServer manifest with caBundleRef pointing to a ConfigMap containing the CA bundle:
migrate-to-v1beta1.mdx documents the thvCABundlePath → caBundleRef migration with before/after examples. Note: thvCABundlePath was removed in v0.15.0, not just deprecated, so the deprecation-note ask is moot.
mcp-server-entry.mdx, telemetry-and-metrics.mdx, and remote-mcp-proxy.mdx each document caBundleRef on their respective CRDs.
The MCPOIDCConfig CRD schema confirms caBundleRef lives at spec.inline.caBundleRef.
v1beta1 reshaped the original ask: OIDC config moved out of MCPServer.spec.oidcConfig into the dedicated MCPOIDCConfig CRD referenced via oidcConfigRef. So the original example (inline oidcConfig on MCPServer) is no longer the right shape - caBundleRef now belongs on an MCPOIDCConfig.
Still missing:auth-k8s.mdx has zero mentions of caBundleRef, custom CAs, or corporate IdP scenarios, despite being the page this issue named. The remaining work is small: add a worked example under "Set up shared OIDC configuration with MCPOIDCConfig" showing an MCPOIDCConfig with caBundleRef for a corporate Keycloak (or similar) with a non-public CA.
Proposing we rescope the issue to that single addition rather than the original four-part ask.
Activity
jhrozek commentedon Jan 23, 2026
Apologies for the AI slop, testing a skill and prematurely agreed to open an issue
danbarr commentedon Feb 2, 2026
@jhrozek Should this be closed then? Or assigned?
jhrozek commentedon Feb 2, 2026
I'm going to self-assign this, the basic ask of the issue is valid
danbarr commentedon Apr 29, 2026
Status check after the v1beta1 docs work:
Already covered elsewhere:
migrate-to-v1beta1.mdxdocuments thethvCABundlePath→caBundleRefmigration with before/after examples. Note:thvCABundlePathwas removed in v0.15.0, not just deprecated, so the deprecation-note ask is moot.mcp-server-entry.mdx,telemetry-and-metrics.mdx, andremote-mcp-proxy.mdxeach documentcaBundleRefon their respective CRDs.MCPOIDCConfigCRD schema confirmscaBundleReflives atspec.inline.caBundleRef.v1beta1 reshaped the original ask: OIDC config moved out of
MCPServer.spec.oidcConfiginto the dedicatedMCPOIDCConfigCRD referenced viaoidcConfigRef. So the original example (inlineoidcConfigonMCPServer) is no longer the right shape -caBundleRefnow belongs on anMCPOIDCConfig.Still missing:
auth-k8s.mdxhas zero mentions ofcaBundleRef, custom CAs, or corporate IdP scenarios, despite being the page this issue named. The remaining work is small: add a worked example under "Set up shared OIDC configuration with MCPOIDCConfig" showing anMCPOIDCConfigwithcaBundleReffor a corporate Keycloak (or similar) with a non-public CA.Proposing we rescope the issue to that single addition rather than the original four-part ask.