MeshTimeout inconsistent default values for spec.to
depending on the presence of the inbound policy
#12649
Labels
Milestone
spec.to
depending on the presence of the inbound policy
#12649
What happened?
Problem
When there are no MeshTimeout then plugin is not executed
kuma/pkg/plugins/policies/meshtimeout/plugin/v1alpha1/plugin.go
Lines 40 to 46 in 820494c
But when there are MeshTimeouts that configure
spec.from
thenspec.to
is configured with default values.Steps to reproduce
spec.from
Expected behaviour: no outbound listeners and clusters are affected
Actual behaviour: outbound listeners and clusters have different timeouts
Effect
Some of these values are just explicitly set to defaults that Envoy has, it's harmless:
but changes like
are very dangerous and enabling 15s timeout without the user expecting it.
The text was updated successfully, but these errors were encountered: