surface self-check errors in challenge resource
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
This commit is contained in:
parent
88d811b34c
commit
b0a9b8276c
@ -149,7 +149,7 @@ func (c *Controller) Sync(ctx context.Context, ch *cmapi.Challenge) (err error)
|
|||||||
err = solver.Check(ctx, genericIssuer, ch)
|
err = solver.Check(ctx, genericIssuer, ch)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Infof("propagation check failed: %v", err)
|
glog.Infof("propagation check failed: %v", err)
|
||||||
ch.Status.Reason = fmt.Sprintf("Waiting for %s challenge propagation", ch.Spec.Type)
|
ch.Status.Reason = fmt.Sprintf("Waiting for %s challenge propagation: %s", ch.Spec.Type, err)
|
||||||
|
|
||||||
key, err := controllerpkg.KeyFunc(ch)
|
key, err := controllerpkg.KeyFunc(ch)
|
||||||
// This is an unexpected edge case and should never occur
|
// This is an unexpected edge case and should never occur
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user