Update docs for v1beta1 CRD stabilization epic#4536
Conversation
…ld removal Document the new shared configuration CRDs (MCPOIDCConfig, MCPTelemetryConfig) and the removal of deprecated fields introduced by the v1beta1 CRD stabilization epic (stacklok/stacklok-epics#291). - Add MCPOIDCConfig and MCPTelemetryConfig to operator architecture docs (diagrams, tables, CRD relationship chart, dedicated sections) - Document oidcConfigRef in VirtualMCPServer API reference with examples - Add MCPTelemetryConfig CRD section to observability docs - Update Kubernetes migration guide to recommend oidcConfigRef - Create example YAMLs for MCPOIDCConfig with MCPServer, MCPRemoteProxy, and VirtualMCPServer - Add deprecation comments to inline OIDC example files pointing to the new oidcConfigRef pattern - Fix stale port: reference (removed in #4250) in architecture example Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@claude Please use the agents to ensure this PR has documentation that is correct. Please use the docs review skill also. |
|
Claude finished @ChrisJBurns's task in 6m 4s —— View job Documentation Review Complete
Findings and Fixes AppliedTwo critical bugs and one misleading example were found and fixed in commit Bug 1 —
|
| File | Issue | |
|---|---|---|
virtualmcpserver-api.md line ~487 |
outgoingAuth.backends.slack.type: service_account is not a valid enum value (discovered and external_auth_config_ref are the only valid values per CRD markers) |
|
virtualmcpserver-api.md lines 390–400 |
status.capabilities and status.observedGeneration documented but don't exist in VirtualMCPServerStatus Go type |
|
| 💡 | virtualmcpserver-api.md line 595 |
Related Resources links MCPOIDCConfig to a YAML example file rather than the API reference (crd-api.md) |
These are outside the scope of this PR but worth tracking as follow-up issues.
Documentation Quality: Good
The overall documentation is well-structured and thorough. The deprecation notices are consistently placed, the mermaid diagrams and CRD layer diagrams correctly reflect the new CRDs, and the field descriptions match the Go types (after the above fixes). The new example YAML files follow the namespace conventions and clearly explain the preferred patterns.
| Branch
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4536 +/- ##
==========================================
+ Coverage 68.85% 68.86% +0.01%
==========================================
Files 505 505
Lines 52318 52378 +60
==========================================
+ Hits 36022 36069 +47
- Misses 13506 13520 +14
+ Partials 2790 2789 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Replace upstreamURL with remoteURL in mcpremoteproxy examples (the MCPRemoteProxySpec field is json:"remoteURL"; upstreamURL is unknown and would be pruned, causing the required field to be missing) - Remove audience from kubernetesServiceAccount blocks in MCPOIDCConfig examples (KubernetesServiceAccountOIDCConfig has no audience field; audience belongs on oidcConfigRef.audience per the CRD design) - Update VirtualMCPServer complete example to use oidcConfigRef instead of the deprecated inline oidcConfig form Co-authored-by: Chris Burns <ChrisJBurns@users.noreply.github.com>
Summary
The v1beta1 CRD stabilization epic (stacklok/stacklok-epics#291) introduced several new features and breaking changes across 7 closed tickets (#4247, #4248, #4249, #4250, #4252, #4267, #4275), but the in-repo documentation was not updated to reflect them. This PR brings all documentation, examples, and architecture diagrams up to date.
Type of change
Changes
docs/arch/09-operator-architecture.mdport:→proxyPort:in YAML example. Rewrote Configuration References to lead with shared CRD pattern.docs/operator/virtualmcpserver-api.mdoidcConfigReffield in.spec.incomingAuthwith full field descriptions. Added deprecation notice on inlineoidcConfig. Added preferred YAML example with MCPOIDCConfig. DocumentedoidcConfigHashstatus field. Added MCPOIDCConfig to Related Resources.docs/observability.mdspec.openTelemetryas deprecated.docs/operator/virtualmcpserver-kubernetes-guide.mdoidcConfigRefwith MCPOIDCConfig. Added hint in VirtualMCPServer creation example.examples/operator/mcp-servers/mcpserver_with_oidcconfig_ref.yamloidcConfigRef.examples/operator/mcp-servers/mcpremoteproxy_with_oidcconfig_ref.yamloidcConfigRef.examples/operator/virtual-mcps/vmcp_with_oidcconfig_ref.yamloidcConfigRefin incomingAuth.*_oidcconfig_ref.yamlexamples.Test plan
port,targetPort,toolsFilter,clientSecret,thvCABundlePath) remain in updated docscmd/thv-operator/api/v1alpha1/type definitionsSpecial notes for reviewers
This is a docs-only PR covering the closed tickets from the CRD stabilization epic. The 3 still-open tickets (#4251 MCPRegistry status consolidation, #4253 workload CRD config reference updates, #4254 MCPRemoteEndpoint) will need additional doc updates when they land.
Generated with Claude Code