Skip to content

Commit

Permalink
Merge pull request #2563 from fabriziopandini/clusterctl-fix-wait-cer…
Browse files Browse the repository at this point in the history
…t-manager

🐛clusterctl: fix wait cert-manager
  • Loading branch information
k8s-ci-robot authored Mar 6, 2020
2 parents 7b3ecdf + e78f853 commit ea7a9f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/clusterctl/client/cluster/cert_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ func (cm *certManagerClient) EnsureWebhook() error {
if err := cm.pollImmediateWaiter(waitCertManagerInterval, waitCertManagerTimeout, func() (bool, error) {
webhook, err := cm.getWebhook()
if err != nil {
return false, errors.Wrap(err, "failed to get cert-manager web-hook")
//Nb. we are ignoring the error so the pollImmediateWaiter will execute another retry
return false, nil
}
if webhook == nil {
return false, nil
Expand Down

0 comments on commit ea7a9f4

Please sign in to comment.