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
Describe the bug
Redirects are not being picked by emissary when it is associated with a Host by mappingSelector.
If the mappingSelector is removed from the Host it works.
Hi @leandrorosa, I think this is because of the wildcard hostname in the Mapping. "If the Host defines a mappingSelector and the Mapping also defines a hostname, both must match. Mapping with a hostname of "*" will associate with any Host that has no mappingSelector." A wildcard is probably not considered a match.
Only the one with the host_redirect isn't working ( we don't see it in the envoy/envoy.json)
After we removed the mappingSelector from the host resource and added hostname: * in the mapping it started to work.
Another solution was to add DISABLE_STRICT_LABEL_SELECTORS: "true" environment variable.
Describe the bug
Redirects are not being picked by emissary when it is associated with a Host by mappingSelector.
If the mappingSelector is removed from the Host it works.
To Reproduce
Create two hosts like this:
And then create a redirect like this:
The redirect will not work.
If the mappingSelector is removed from the hosts it works.
Expected behavior
Redirects being applied with the mappingSelector.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: