diff --git a/cli/cmd/commands/update.go b/cli/cmd/commands/update.go index fe32d53b21..4fb9980c55 100644 --- a/cli/cmd/commands/update.go +++ b/cli/cmd/commands/update.go @@ -1171,8 +1171,8 @@ func checkDeploymentStatus(ctx context.Context, client api.Client, cliConfig con } for time.Now().Before(timeWait) { - // refresh the client every 10 minutes - if time.Now().After(prevRefresh.Add(10 * time.Minute)) { + // refresh the client every 2 minutes, as the kubeconfig has a minimum TTL of 5 minutes + if time.Now().After(prevRefresh.Add(2 * time.Minute)) { err = sharedConf.setSharedConfig(ctx) if err != nil {