Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
When LEGO_EMAIL is unset, no expiration notifications will be sent. U…
Browse files Browse the repository at this point in the history
…pdated the returned string to include a link to LE documentation.
  • Loading branch information
pgporada authored and simonswine committed Apr 25, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 08eef5d commit 0022b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelego/kubelego.go
Original file line number Diff line number Diff line change
@@ -223,7 +223,7 @@ func (kl *KubeLego) paramsLego() error {

kl.legoEmail = os.Getenv("LEGO_EMAIL")
if len(kl.legoEmail) == 0 {
return errors.New("Please provide an email address for cert recovery in LEGO_EMAIL")
return errors.New("Please provide an email address for certificate expiration notifications in LEGO_EMAIL (https://letsencrypt.org/docs/expiration-emails/)")
}

kl.legoPodIP = net.ParseIP(os.Getenv("LEGO_POD_IP"))

0 comments on commit 0022b95

Please sign in to comment.