Skip to content

header-to-metadata: add option to apply an upstream TLS context override#18112

Closed
rgs1 wants to merge 8 commits intoenvoyproxy:mainfrom
rgs1:header-to-metadata-tls-upstream-override
Closed

header-to-metadata: add option to apply an upstream TLS context override#18112
rgs1 wants to merge 8 commits intoenvoyproxy:mainfrom
rgs1:header-to-metadata-tls-upstream-override

Conversation

@rgs1
Copy link
Copy Markdown
Member

@rgs1 rgs1 commented Sep 14, 2021

Helps #17882.

Signed-off-by: Raul Gutierrez Segales rgs@pinterest.com

Helps envoyproxy#17882.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @lizan
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #18112 was opened by rgs1.

see: more, trace.

Raul Gutierrez Segales added 7 commits September 14, 2021 11:42
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Fix
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
This reverts commit 1ae23cf.
This reverts commit 6176f23.
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
if (value && proto_rule.has_on_header_present()) {
applyKeyValue(std::move(value).value_or(""), rule, proto_rule.on_header_present(),
structs_by_namespace);
auto applied_value = applyKeyValue(std::move(value).value_or(""), rule,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to use value_or() here?

@lizan
Copy link
Copy Markdown
Member

lizan commented Sep 17, 2021

qq: does #17995 fit your use case? it allows to use a header value for san validation.

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Oct 21, 2021
@rgs1
Copy link
Copy Markdown
Member Author

rgs1 commented Oct 25, 2021

qq: does #17995 fit your use case? it allows to use a header value for san validation.

Maybe – we could construct the header dynamically from another filter...

cc: @fishcakez

@rgs1
Copy link
Copy Markdown
Member Author

rgs1 commented Oct 25, 2021

@lizan per @fishcakez we used that option in the end – thanks!

@rgs1 rgs1 closed this Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api stale stalebot believes this issue/PR has not been touched recently waiting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants