diff --git a/pkg/kubeconfig/kubeconfig.go b/pkg/kubeconfig/kubeconfig.go index 8c3d037..3039834 100644 --- a/pkg/kubeconfig/kubeconfig.go +++ b/pkg/kubeconfig/kubeconfig.go @@ -83,7 +83,7 @@ func loadControlPlaneKubeconfig(ctx context.Context, client kubernetes.Clientset var ks *v1.Secret var errGet error - err := wait.PollUntilContextTimeout(ctx, 1*time.Second, 5*time.Minute, false, func(ctx context.Context) (bool, error) { + err := wait.PollUntilContextTimeout(ctx, 1*time.Second, 15*time.Minute, false, func(ctx context.Context) (bool, error) { ks, errGet = client.CoreV1().Secrets(namespace).Get(ctx, util.GetKubeconfSecretNameByControlPlaneType(controlPlaneType), metav1.GetOptions{})