Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1980 from StrongMonkey/allow-prod-dns
Browse files Browse the repository at this point in the history
Check for production acorn dns serves
  • Loading branch information
ibuildthecloud authored Jul 26, 2023
2 parents 65b88d8 + f60e619 commit 2a65bf3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/controller/tls/letsencrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,6 @@ func (u *LEUser) mustRenew(sec *corev1.Secret) bool {
}

func (u *LEUser) dnsChallenge(ctx context.Context, domain string) (*certificate.Resource, error) {
if !strings.HasSuffix(domain, "oss-acorn.io") {
return nil, fmt.Errorf("ACME DNS challenge is only supported for oss-acorn.io subdomains, not for %s", domain)
}

client, err := u.leClient()
if err != nil {
return nil, err
Expand Down

0 comments on commit 2a65bf3

Please sign in to comment.