Skip to content

fix(agent-gateway): add /mcp to ingress and manage ingress via chart#7

Open
elamaran11 wants to merge 1 commit into
mainfrom
fix/agent-gateway-streamable-http
Open

fix(agent-gateway): add /mcp to ingress and manage ingress via chart#7
elamaran11 wants to merge 1 commit into
mainfrom
fix/agent-gateway-streamable-http

Conversation

@elamaran11
Copy link
Copy Markdown
Contributor

Summary

Follow-up to #6. The agentgateway ALB ingress was created outside the chart (no ingress template existed), so adding /mcp to it was reverted by ArgoCD on every sync.

Changes

1. Add ingress.yaml template to agent-gateway chart

The ingress is now fully managed by GitOps. Includes both /sse and /mcp paths so AgentGateway can receive both SSE and StreamableHTTP MCP requests.

2. Add ingress values to values.yaml

New ingress.enabled/className/host values with safe defaults (enabled: false).

3. Enable ingress in addons.yaml

Sets ingress.enabled: true and derives host from the cluster secret's ingress_domain_name annotation — same pattern used by all other platform ingresses (keycloak, argo-workflows, etc.).

Result

After merge + Argo refresh:

  • POST https://<domain>/mcp with JWT → routes to AgentGateway → StreamableHTTP to MCP proxy → returns tools list
  • GET https://<domain>/sse with JWT → SSE stream (existing behavior unchanged)
  • ArgoCD no longer reverts the /mcp path on sync

The agentgateway ALB ingress was created outside the chart (no ingress
template existed), so adding /mcp to it was reverted by ArgoCD on every
sync. This commit:

1. Adds ingress.yaml template to the agent-gateway chart so the ingress
   is fully managed by GitOps. Includes both /sse and /mcp paths.

2. Adds ingress.enabled/className/host values to values.yaml.

3. Enables the ingress in addons.yaml with host derived from the cluster
   secret's ingress_domain_name annotation — same pattern used by all
   other platform ingresses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant