network.http-protocol=Redirected
breaks custom Istio ingress gateways
#14879
Labels
network.http-protocol=Redirected
breaks custom Istio ingress gateways
#14879
/area networking
What version of Knative?
1.12.3
Expected Behavior
Enabling this option with a custom Istio gateway should simply keep the
custom-namespace.custom-gateway
in theVirtualService
so that requests coming in on 443 will match.Actual Behavior
When enabling
network.http-protocol=Redirected
, Knative Serving will create a customGateway
for every service to sethttpRedirect
. This way requests are immediately redirected to port 443. The problem is when this setting is enabled it replaces the custom Istio ingress gateway with the app-specific ingress gateway that is only configured with port 80, and not the custom gateway that may have been configured with TLS certificates.This means all requests to your app after the redirect will 404.
Steps to Reproduce the Problem
http-protocol=Redirected
The text was updated successfully, but these errors were encountered: