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
In Envoy 1.20+ the ext_authz behavior changed so Envoy makes ext_authz calls on all request (redirect, route, direct response) unless overridden on a per Route basis. In Emissary-ingress v3.Y, when an AuthService is applied this behavior change caused Envoy to call the AuthService before performing the host_redirect. This issue is related to the #4620 which the same behavior change caused https_redirect to not work properly.
When using a Mapping and you set the host_redirect: true field the the following Envoy configuration is produced:
In previous versions of Emissary-ingress the redirect caused Envoy to skip the ext_authz call but that is no longer the default behavior.
Proposed Solution
We need to implement the same solution we did for https_redirect so that we override this behavior on a per-route basis to restore the behavior that existing prior to Emissary-ingress v3.Y.
Here is a sample of what the fixed configuration should look like:
Summary
In Envoy 1.20+ the
ext_authz
behavior changed so Envoy makesext_authz
calls on all request (redirect, route, direct response) unless overridden on a per Route basis. In Emissary-ingress v3.Y, when anAuthService
is applied this behavior change caused Envoy to call the AuthService before performing the host_redirect. This issue is related to the #4620 which the same behavior change caused https_redirect to not work properly.When using a
Mapping
and you set thehost_redirect: true
field the the following Envoy configuration is produced:In previous versions of Emissary-ingress the
redirect
caused Envoy to skip the ext_authz call but that is no longer the default behavior.Proposed Solution
We need to implement the same solution we did for https_redirect so that we override this behavior on a per-route basis to restore the behavior that existing prior to Emissary-ingress v3.Y.
Here is a sample of what the fixed configuration should look like:
The text was updated successfully, but these errors were encountered: