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 20, 2023
1 parent 0cbde4a commit 7c0eab1
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 @@ -443,6 +443,9 @@ func (r *KubeadmControlPlaneReconciler) reconcile(ctx context.Context, controlPl
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 7c0eab1

Please sign in to comment.