Skip to content

Option to enable envoy request or response headers separately #8522

Description

@lboynton

Description:

Describe the desired behavior, what scenario it enables and how it
would be used.

I would like to be able to enable envoy request headers like x-envoy-original-path so that I see the original path for URL rewritten requests in traces and access logs. There is an option in CTP called enableEnvoyHeaders which does this. However, this also enables envoy response headers which I do not want to return to clients.

Would it be possible to have separate flags in CTP for enabling request or response headers?

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Previous discussion here for context: #8477 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiAPI-related issueshelp wantedExtra attention is needed

    Type

    No type

    Fields

    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