Add TLS-enabled Router

This commit is contained in:
Daniel Tomcej 2019-08-14 11:16:06 -06:00 committed by Traefiker Bot
parent 2895ad21f3
commit 9e3f549341
5 changed files with 53 additions and 0 deletions

View file

@ -688,6 +688,11 @@ func TestLoadConfigurationFromIngresses(t *testing.T) {
Rule: "Host(`example.com`)",
Service: "testing/example-com/80",
},
"example-com-tls": {
Rule: "Host(`example.com`)",
Service: "testing/example-com/80",
TLS: &dynamic.RouterTLSConfig{},
},
},
Services: map[string]*dynamic.Service{
"testing/example-com/80": {