-
Notifications
You must be signed in to change notification settings - Fork 333
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
fix(kuma-cp): delete an empty TimeoutConfigurer #4554
Conversation
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to not have to "remember" to add .Configure(DefaultTimeout)
for every cluster?
@michaelbeaumont I was thinking about that. I see a few options:
|
ah ok that I wasn't aware of, yeah maybe that's enough then. |
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> (cherry picked from commit d220039) # Conflicts: # pkg/plugins/runtime/gateway/gateway_route_generator_test.go # pkg/plugins/runtime/gateway/testdata/http/cross-mesh-gateway.yaml # pkg/plugins/runtime/gateway/testdata/https/cross-mesh-gateway.yaml
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # pkg/plugins/runtime/gateway/gateway_route_generator_test.go # pkg/plugins/runtime/gateway/testdata/http/cross-mesh-gateway.yaml # pkg/plugins/runtime/gateway/testdata/https/cross-mesh-gateway.yaml # pkg/xds/generator/direct_access_proxy_generator.go # pkg/xds/generator/outbound_proxy_generator_test.go # pkg/xds/generator/testdata/outbound-proxy/06.envoy.golden.yaml
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # pkg/plugins/runtime/gateway/gateway_route_generator_test.go # pkg/plugins/runtime/gateway/testdata/http/cross-mesh-gateway.yaml # pkg/plugins/runtime/gateway/testdata/https/cross-mesh-gateway.yaml
* fix(kuma-cp): delete an empty TimeoutConfigurer (#4554) Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> # Conflicts: # pkg/plugins/runtime/gateway/gateway_route_generator_test.go # pkg/plugins/runtime/gateway/testdata/http/cross-mesh-gateway.yaml # pkg/plugins/runtime/gateway/testdata/https/cross-mesh-gateway.yaml * fix test Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com> Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Summary
ProvidedEndpointCluster and PassThroughCluster created clusters with an empty
TimeoutConfigurer
that was overriding values from the Timeout policy.Full changelog
Configure(envoy_clusters.DefaultTimeout()).
where we don't have Timeout policy.Issues resolved
Fix #4475
Documentation
Testing
Backwards compatibility
UPGRADE.md
with any steps users will need to take when upgrading.backport-to-stable
label if the code follows our backporting policy