Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hostindex: Passthrough displaces path-based TLS
Ensure that a passthrough route displaces any path-based TLS routes with the same host, because passthrough is incompatible with path-based routing. This commit fixes bug 1691190. https://bugzilla.redhat.com/show_bug.cgi?id=1691190 * pkg/router/controller/hostindex/activation.go (hasExistingMatch): Return true if both routes are TLS and the existing route is a passthrough route. * pkg/router/controller/hostindex/hostindex_test.go (Test_hostIndex): Verify that a passthrough route displaces path-based TLS routes with the same host, but does not displace non-TLS routes.
- Loading branch information