Skip to content

feat: Stoat HTTPRoute via Traefik GatewayClass - #3

Merged
surrealwolf merged 1 commit into
mainfrom
feat/httproute-traefik-gateway
Nov 21, 2026
Merged

surrealwolf merged 1 commit into
mainfrom
feat/httproute-traefik-gateway

Conversation

@surrealwolf

@surrealwolf surrealwolf commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • When spec.ingress.className is a GatewayClass (e.g. traefik), reconcile HTTPRoutes to kube-system/traefik-gateway and delete Ingress.
  • Optional gatewayName / gatewayNamespace / listenerName (defaults match RKE2 Traefik).
  • Live: image httproute-a49f791, CR className: traefik, stoat/stoat-admin on HTTPRoute (200/307).

Test plan

Made with Cursor


Note

Medium Risk
Changes edge routing for main and admin hosts and can delete Ingress or HTTPRoute during class switches, which may briefly affect traffic if GatewayClass detection or parent Gateway refs are wrong.

Reviewed by Cursor Bugbot for commit a49f791. Bugbot is set up for automated code reviews on this repo. Configure here.

When spec.ingress.className names a GatewayClass (e.g. traefik), reconcile
HTTPRoutes to traefik-gateway and delete legacy Ingress. Optional
gatewayName/namespace/listenerName fields default to RKE2 Traefik layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Nov 21, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 50c3258e-f8e9-4e21-ad22-1376477efb47)

@surrealwolf
surrealwolf merged commit 8e9c53f into main Nov 21, 2026
3 of 6 checks passed
@surrealwolf
surrealwolf deleted the feat/httproute-traefik-gateway branch November 21, 2026 21:39
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