envoy icon indicating copy to clipboard operation
envoy copied to clipboard

hcm: add match_upstream to SchemeHeaderTransformation

Open wtzhang23 opened this issue 1 year ago • 10 comments

Commit Message: add match_upstream to SchemeHeaderTransformation Additional Description: Define a new variant that configures the hcm to override the scheme with the upstream transport protocol. The value is accessible by all downstream filters and is specifically used by the Router filter. Renamed variant from use_upstream_scheme to be clear that the scheme matches the transport protocol. Risk Level: low Testing: unit testing Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a Fixes #33020

wtzhang23 avatar May 11 '24 17:05 wtzhang23

Hi @wtzhang23, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

:cat:

Caused by: https://github.com/envoyproxy/envoy/pull/34099 was opened by wtzhang23.

see: more, trace.

As a reminder, PRs marked as draft will not be automatically assigned reviewers, or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

:cat:

Caused by: https://github.com/envoyproxy/envoy/pull/34099 was opened by wtzhang23.

see: more, trace.

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/). envoyproxy/api-shepherds assignee is @adisuissa CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

:cat:

Caused by: https://github.com/envoyproxy/envoy/pull/34099 was opened by wtzhang23.

see: more, trace.

Small Qs:

  • Not familiar with the async client implementation. Is it possible that especially the gRPC client may take advantage of these settings?
  • What setting should the Admin interface use? I have it set to true which from my understanding will be a no-op.
  • Pass the should_match_upstream as a constructor param or keep using a setter in StreamInfo?

wtzhang23 avatar May 11 '24 17:05 wtzhang23

/retest

wtzhang23 avatar May 11 '24 22:05 wtzhang23

@envoyproxy/senior-maintainers assignee is @htuch

:cat:

Caused by: a https://github.com/envoyproxy/envoy/pull/34099#pullrequestreview-2053335351 was submitted by @adisuissa.

see: more, trace.

/retest

wtzhang23 avatar May 14 '24 00:05 wtzhang23

Reassigning to @alyssawilk for data plane senior maintainer coverage.

htuch avatar May 14 '24 03:05 htuch

/wait on CI

alyssawilk avatar May 28 '24 13:05 alyssawilk

/retest

wtzhang23 avatar May 28 '24 14:05 wtzhang23

ah actually needs shephard LGTM

alyssawilk avatar Jun 04 '24 12:06 alyssawilk