Open wernight opened 8 years ago
+1
I have the same issue.
Okay found the issue. You must to delete all secrets (and probably restart kube-lego) after changing the LEGO_URL
. This is a bug; it should detect URL changes and probably use another secret per environment. Another idea is to have a boolean flag for the environment instead of a full URL. Full URL may be provided as alternative.
In order do this (adapt to your namespaces);
$ kubectl --namespace=default delete secret kube-lego-account
$ kubectl --namespace=foo delete secret foo-tls-certificate
$ kubectl --namespace=default delete po -l app=kube-lego
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to jetstack.
/lifecycle stale
The
kube-lego
container hasLEGO_URL
set to production:However its retrieving the staging TLS certificate:
Note: I kept Nginx Ingress controller
hsts-include-subdomains
to the default (true
).Should I expect to receive any e-mail at example@example.com? Should I delete the token or something else if I change from staging to production?