Correct Kubernetes Ingress and IngressRoute port heuristic for choosing HTTPS

This commit is contained in:
Steven E. Harris 2019-08-14 12:58:04 -04:00 committed by Traefiker Bot
parent 5731ae7f47
commit 2895ad21f3
7 changed files with 11 additions and 9 deletions

View file

@ -1324,10 +1324,10 @@ func TestLoadIngressRoutes(t *testing.T) {
LoadBalancer: &dynamic.LoadBalancerService{
Servers: []dynamic.Server{
{
URL: "https://10.10.0.5:443",
URL: "https://10.10.0.5:8443",
},
{
URL: "https://10.10.0.6:443",
URL: "https://10.10.0.6:8443",
},
},
PassHostHeader: true,