cert-manager/pkg
Maxim Ivanov c44a7552ea Check challenge before presenting it
With async challenge Check, it is often happens,
that solver.Check() fails on first run after solver.Present()

Cert-manager then tries again, but starts with solver.Present(),
which not being idempotent right now fails on certain DNS providers.

This change swaps order of solver.Check() and solver.Present().
Check is not returning error if propagation not happened, it then
allows Present() to run.

In the current form, Present() will be spamming with errors,
but this doesn't stop Check from happening on every attempt,
so eventually Challenge can be verified and accepted. In the future,
Present() should be made idempotent.
2018-04-11 11:27:23 +01:00
..
api Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
apis Fix invalid json tags 2018-04-09 19:44:16 +01:00
client Run hack/update-codegen.sh 2018-03-23 18:30:49 +00:00
controller Adjust exponential backoff base value 2018-04-10 01:50:44 +01:00
issuer Check challenge before presenting it 2018-04-11 11:27:23 +01:00
logs Add e2e test framework and basic Issuer test 2017-09-08 16:25:21 +01:00
scheduler Enable go race detector and fix race 2017-12-01 22:54:12 +00:00
util Merge branch 'master' into acmev2 2018-04-09 16:52:34 +01:00