Repository navigation
feat: build skill-manager on the shared MCP library, with chart values on model-manager's layout - #58
Merged
Merged
Conversation
mcp-oauth is configured with oauthconfig.SettingsFromEnv and set up with oauthconfig.Setup, so the OAUTH_* variables apply as mcp-oauth documents them. The earlier flags and variables keep working as deprecated fallbacks that log their replacement; an OAUTH_* variable wins over them. The caller's ID token comes from handler.ProviderIDTokenFromContext, which also covers a trusted issuer marked as the OpenID Provider. The streamable-HTTP endpoint is stateless. MCP_ALLOWED_HOSTS and MCP_ALLOWED_ORIGINS (mcp-toolkit v0.17.0-rc.1 httpx.OriginPolicyFromEnv) feed httpx.ProtectOriginWith, and the hosts also mcp-go's WithAllowedHosts.
…ed origins The chart takes mcp-oauth's value layout for MCP servers (oauth.resourceServer, oauth.authorizationServer) and renders mcp-oauth's OAUTH_* variables instead of the deprecated flags. Dex becomes a trusted issuer marked as the OpenID Provider, accepting the same audiences. The old oauth.* keys keep working as deprecated fallbacks, and the install notes name each one set. With oauth.authorizationServer.enabled false the server needs no client secret. mcp.allowedHosts and mcp.allowedOrigins render MCP_ALLOWED_HOSTS and MCP_ALLOWED_ORIGINS.
The workflow runs mcp-toolkit's conformance scenarios, at the version go.mod requires, against the server without OAuth. The baseline lists the session warning a stateless endpoint gets.
…with model-manager networkPolicy.gatewayPeers (muster, agentgateway, agent-manager) and networkPolicy.metricsPeers (kube-system alloy-metrics) replace admitting every pod of the release namespace and of kube-system; ingressNamespaces and metricsNamespaces stay as deprecated additional permissions. serviceMonitor.labels carries the observability.giantswarm.io/tenant label by default and the ServiceMonitor requires it. httpRoute renders an optional Gateway API route.
…merge keeps block style
Published Helm chart
|
| Chart | skill-manager |
| Version | 0.4.8-rb3a91406t20261201130611h726baed |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/skill-manager:0.4.8-rb3a91406t20261201130611h726baed |
| Digest | sha256:eb0100069884583a48d0f133c2ab1d620ea17bce7633e35f276d38d1543a9e3b |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/skill-manager --version 0.4.8-rb3a91406t20261201130611h726baedPosted by architect-orb · build 1215 · commit 726baed · updated in place on every push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Moves skill-manager onto the shared MCP library, the mcp-timescale pattern: OAuth through mcp-oauth's
oauthconfig.SettingsFromEnv(OAUTH_*variables), a stateless/mcp, mcp-toolkit v0.17.0's origin and host checks (also passed to mcp-go'sWithAllowedHosts), MCP conformance CI, and chart values on model-manager's layout:oauth.resourceServer/oauth.authorizationServer,networkPolicy.gatewayPeers/metricsPeers, theobservability.giantswarm.io/tenantlabel,httpRoute,mcp.allowedHosts/mcp.allowedOrigins.What is the effect of this change to users?
Old flags, variables and values keep working, deprecated; the install notes list each one set.
oauth.authorizationServer.enabled: falsemakes the server a resource server only (no Dex client secret); the default stays on./oauth/introspectis off unlessOAUTH_ENABLE_INTROSPECTION_ENDPOINTis set. The NetworkPolicy admits muster, agentgateway and agent-manager instead of every pod in the namespace, and alloy-metrics instead of all of kube-system.UPGRADE.mdhas the details.Any background context you can provide?
Part of #41 and giantswarm/giantswarm#39405. Rendered with gazelle's values: besides the OAuth flags becoming
OAUTH_*variables, only the NetworkPolicy changes, and every current caller is still admitted.What is needed from the reviewers?
The NetworkPolicy peer defaults, and the resource-server-only path.