Skip to content

Commit

Permalink
Merge pull request #293 from pdettori/issue-291
Browse files Browse the repository at this point in the history
🐛 increase timeout for loadControlPlaneKubeconfig()
  • Loading branch information
pdettori authored Oct 24, 2024
2 parents a581b49 + 226650d commit 25d62b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubeconfig/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
Expand Down

0 comments on commit 25d62b6

Please sign in to comment.