Skip to content

Support DirectResponse HTTPRouteFilter #2826

@arkodg

Description

@arkodg

What would you like to be added:

A new HTTPRouteFilter that allows users to directly respond to requests with a specific body and status w/o sending it to a backend.

Existing implementations that have this feature
Istio - https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPDirectResponse
Contour https://projectcontour.io/docs/1.28/config/api/#projectcontour.io/v1.HTTPDirectResponsePolicy

Why this is needed:

  • Adding a catch-all / fallback route to HTTPRoute

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Projects

Status

Proposed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions