fix: TLS domains with IngressRoute.

This commit is contained in:
Ludovic Fernandez 2019-09-09 13:52:04 +02:00 committed by Traefiker Bot
parent 232c113dae
commit be90b20a5d
5 changed files with 23 additions and 2 deletions

View file

@ -80,6 +80,7 @@ func (p *Provider) loadIngressRouteTCPConfiguration(ctx context.Context, client
conf.Routers[serviceName].TLS = &dynamic.RouterTCPTLSConfig{
Passthrough: ingressRouteTCP.Spec.TLS.Passthrough,
CertResolver: ingressRouteTCP.Spec.TLS.CertResolver,
Domains: ingressRouteTCP.Spec.TLS.Domains,
}
if ingressRouteTCP.Spec.TLS.Options != nil && len(ingressRouteTCP.Spec.TLS.Options.Name) > 0 {