Skip to content

Custom Responses based on upstream reply #21441

@pradeepcrao

Description

@pradeepcrao

Title: Provide the ability to customise upstream responses

Description:
The ability to customise responses from the upstream (particularly errors) allows Envoy to provide customised web pages to the user which is particularly useful in multi-tenant environments where the default page might be perceived as jarring to the end user. Some functionality does currently exist using LocalReplyConfig, but this has the following limitations:

  • The custom responses are always locally defined. This can lead to memory bloat issues in multi-tenant environments.
  • ResponseMappers allow for only one filter per custom response.
  • Advanced matching/filtering logic is not easy to specify.
  • One cannot customise 2xx responses.

This proposal aims to solve the above limitations by defining a new filter to customise upstream responses.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions