-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2 tcp proxy filter config with deprecated_v1 field conflict #2441
Comments
cc @danielhochman @mattklein123 related to what happened at lyft tonight. |
@junr03 I don't really see us fixing this. To workaround this I think you can just use v1 JSON config for tcp_proxy inside the v2 deprecated_v1 holder, right? I think we should just do a doc warning to "fix" this issue. |
ok, I will add the warning. |
Fixed |
Just a heads up: The latest commit to envoy/config/filter/README, which is pointed to in the |
Continued from #2441. Description: Parallels Android implementation based on SharedPreferences. Risk Level: Low Testing: Application Co-authored-by: Mike Schore <mike.schore@gmail.com> Signed-off-by: JP Simard <jp@jpsim.com>
Continued from #2441. Description: Parallels Android implementation based on SharedPreferences. Risk Level: Low Testing: Application Co-authored-by: Mike Schore <mike.schore@gmail.com> Signed-off-by: JP Simard <jp@jpsim.com>
Description:
Currently, when the listener is creating network level filters, it uses the deprecated_v1 field as a boolean indicator to load a v1 config from an opaque
value
field.envoy/source/server/listener_manager_impl.cc
Lines 41 to 46 in d6b8b07
deprecated_v1
field in the tcp proxy config https://github.com/envoyproxy/data-plane-api/blob/master/api/filter/network/tcp_proxy.proto#L113. This means that it is not possible to use a v2 tcp filter config with a deprecated_v1 field in it.So for example, this config will fail:
The text was updated successfully, but these errors were encountered: