Skip to content

WIP: feat(gateway): add HTTPRoute-based gateway integration (POC)#219

Open
matzew wants to merge 1 commit into
kubernetes-sigs:mainfrom
matzew:feat/gateway-httproute-poc
Open

WIP: feat(gateway): add HTTPRoute-based gateway integration (POC)#219
matzew wants to merge 1 commit into
kubernetes-sigs:mainfrom
matzew:feat/gateway-httproute-poc

Conversation

@matzew
Copy link
Copy Markdown
Member

@matzew matzew commented Jun 2, 2026

Add spec.gateway to MCPServer so the operator creates an HTTPRoute when a gateway reference is configured. This provides a standard Gateway API integration point that gateway vendors can build on top of without requiring an internal CRD.

Changes:

  • Add GatewayConfig, GatewayParentRef types with parentRef and hostname
  • Add HTTPRoute reconciliation (create/update/delete with ownership)
  • Register Gateway API scheme in manager and test suite
  • Add RBAC for httproutes.gateway.networking.k8s.io
  • Add setup-gateway-api Makefile target for CRD installation
  • Add mcpserver-with-gateway.yaml example with RBAC and ConfigMap
  • Add tests for HTTPRoute lifecycle, hostname, parentRef, backendRef

Add spec.gateway to MCPServer so the operator creates an HTTPRoute
when a gateway reference is configured. This provides a standard
Gateway API integration point that gateway vendors can build on top
of without requiring an internal CRD.

Changes:
- Add GatewayConfig, GatewayParentRef types with parentRef and hostname
- Add HTTPRoute reconciliation (create/update/delete with ownership)
- Register Gateway API scheme in manager and test suite
- Add RBAC for httproutes.gateway.networking.k8s.io
- Add setup-gateway-api Makefile target for CRD installation
- Add mcpserver-with-gateway.yaml example with RBAC and ConfigMap
- Add tests for HTTPRoute lifecycle, hostname, parentRef, backendRef

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 2, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for mcp-lifecycle-operator ready!

Name Link
🔨 Latest commit 9fb718a
🔍 Latest deploy log https://app.netlify.com/projects/mcp-lifecycle-operator/deploys/6a1ed95b895cd60008e61f0d
😎 Deploy Preview https://deploy-preview-219--mcp-lifecycle-operator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot requested a review from aliok June 2, 2026 13:23
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested a review from mrunalp June 2, 2026 13:23
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants