Skip to content

Commit

Permalink
Remove constrains of multiple TLS on certificate auto-discovery (kube…
Browse files Browse the repository at this point in the history
…rnetes-sigs#3028)

Co-authored-by: LechG <[email protected]>
  • Loading branch information
jerryhe1999 and LechG authored Feb 8, 2023
1 parent fb96e58 commit cd94fdc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/ingress/cert_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ func (d *acmCertDiscovery) Discover(ctx context.Context, tlsHosts []string) ([]s
}
}

if len(certARNsForHost) > 1 {
return nil, errors.Errorf("multiple certificates found for host: %s, certARNs: %v", host, certARNsForHost)
}
if len(certARNsForHost) == 0 {
return nil, errors.Errorf("no certificate found for host: %s", host)
}
Expand Down

0 comments on commit cd94fdc

Please sign in to comment.