Remove same email requirement for certresolvers
This commit is contained in:
parent
8dc9607db7
commit
6b3167d03e
1 changed files with 0 additions and 6 deletions
|
@ -314,7 +314,6 @@ func (c *Configuration) initACMEProvider() {
|
|||
|
||||
// ValidateConfiguration validate that configuration is coherent.
|
||||
func (c *Configuration) ValidateConfiguration() error {
|
||||
var acmeEmail string
|
||||
for name, resolver := range c.CertificatesResolvers {
|
||||
if resolver.ACME != nil && resolver.Tailscale != nil {
|
||||
return fmt.Errorf("unable to initialize certificates resolver %q, as ACME and Tailscale providers are mutually exclusive", name)
|
||||
|
@ -327,11 +326,6 @@ func (c *Configuration) ValidateConfiguration() error {
|
|||
if len(resolver.ACME.Storage) == 0 {
|
||||
return fmt.Errorf("unable to initialize certificates resolver %q with no storage location for the certificates", name)
|
||||
}
|
||||
|
||||
if acmeEmail != "" && resolver.ACME.Email != acmeEmail {
|
||||
return fmt.Errorf("unable to initialize certificates resolver %q, as all ACME resolvers must use the same email", name)
|
||||
}
|
||||
acmeEmail = resolver.ACME.Email
|
||||
}
|
||||
|
||||
if c.Core != nil {
|
||||
|
|
Loading…
Reference in a new issue