chore: simplifies http routing#121
Conversation
WalkthroughRemoved several networking HTTPRoute manifests, renamed and changed the maas-api HTTPRoute to use PathPrefix /maas-api with a URLRewrite, removed host-based routing and backend namespace, replaced an auth-override resource with maas-auth-policy, and deleted a gateway-class kustomization and its model-routing routes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant G as Gateway
participant R as HTTPRoute (maas-api-route)
participant S as Service (maas-api:8080)
C->>G: HTTP GET /maas-api/...
G->>R: Match PathPrefix "/maas-api"
Note over R: URLRewrite ReplacePrefixMatch "/maas-api" → "/"
R->>S: Forward request with path "/..."
S-->>G: Response
G-->>C: Response
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
💤 Files with no reviewable changes (5)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-09-12T22:19:36.331ZApplied to files:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
0141cc0 to
3d6dca0
Compare
We only need one route for maas-api, routes for models are handled by LLMInferenceService controller, so creating separate one can cause confusion. Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com> ; Conflicts: ; deployment/base/networking/kustomization.yaml Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
3d6dca0 to
c2f47b9
Compare
We only need one route for maas-api, routes for models are handled by LLMInferenceService controller, so creating separate one can cause confusion. ; Conflicts: ; deployment/base/networking/kustomization.yaml Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
We only need one route for maas-api, routes for models are handled by LLMInferenceService controller, so creating separate one can cause confusion.
Summary by CodeRabbit
New Features
Refactor