From 48438368de7196e43bb7f3b726a634e80b7fe581 Mon Sep 17 00:00:00 2001 From: Nico Fricke Date: Thu, 19 Oct 2023 08:03:35 +0200 Subject: [PATCH] increase timeout to 5 minutes to have more time for the login --- kubectl-login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubectl-login.go b/kubectl-login.go index 1245b84..571ff6b 100644 --- a/kubectl-login.go +++ b/kubectl-login.go @@ -215,7 +215,7 @@ func runOidc(host string) { oidc.httpServer = &http.Server{Addr: "127.0.0.1:8400", Handler: m} go func() { - time.Sleep(30 * time.Second) + time.Sleep(5 * time.Minute) fmt.Println("Timeout wating for login") os.Exit(1)