Skip to content

Commit

Permalink
add sleep when kcp reconcile
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi080513 committed Jul 3, 2023
1 parent 14b88ca commit 1991009
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controlplane/kubeadm/internal/controllers/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@ func (r *KubeadmControlPlaneReconciler) reconcile(ctx context.Context, cluster *
return ctrl.Result{Requeue: true}, nil
}

fmt.Println("start wait for bug")
time.Sleep(time.Minute * 2)

// Ensure kubeadm role bindings for v1.18+
if err := workloadCluster.AllowBootstrapTokensToGetNodes(ctx); err != nil {
return ctrl.Result{}, errors.Wrap(err, "failed to set role and role binding for kubeadm")
Expand Down

0 comments on commit 1991009

Please sign in to comment.