You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
We have a use case to have the tunnel Hostname dynamically configurable. We previously did this in custom headers (which use HeaderValueOption), but thanks to #21440 we can now use the proper :authority header for this. However, hostname is just a string. We would like it to support dynamic values as well, such as %DYNAMIC_METADATA(["tunnel", "address"])%
The alternative -- to create 1000s of different tunnel configs for each address - is not scale-able.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
The text was updated successfully, but these errors were encountered:
…1067)
Signed-off-by: Jacek Ewertowski jacek.ewertowski1@gmail.com
Commit Message: tcp_proxy: support command operators in tunneling_config.hostname
Additional Description: This change enables dynamically setting tunneling_config.hostname with command operators.
This pull request is an alternative for auto_sni.
This change allows to configure TCP proxy as follows:
```
tunneling_config:
hostname: %REQUESTED_SERVER_NAME%:443
```
Risk Level: Low
Testing: added unit tests
Docs Changes: done
Release Notes: done
Platform Specific Features: none
Fixes#19612Fixes#21804
Title: tunneling_config: support dynamic Hostname
Description:
We have a use case to have the tunnel Hostname dynamically configurable. We previously did this in custom headers (which use HeaderValueOption), but thanks to #21440 we can now use the proper
:authority
header for this. However,hostname
is just a string. We would like it to support dynamic values as well, such as%DYNAMIC_METADATA(["tunnel", "address"])%
The alternative -- to create 1000s of different tunnel configs for each address - is not scale-able.
[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: