Skip to content

Commit

Permalink
remove cluster upgrade timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jul 15, 2024
1 parent e7559fa commit 39afc76
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/embeddedcluster/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ import (
k8syaml "sigs.k8s.io/yaml"
)

const (
clusterUpgradeTimeout = 15 * time.Minute
)

// startClusterUpgrade will create a new installation with the provided config.
func startClusterUpgrade(
ctx context.Context, newcfg embeddedclusterv1beta1.ConfigSpec,
Expand Down Expand Up @@ -138,9 +134,6 @@ func runClusterUpgrade(

log.Println("Running upgrade command...")

ctx, cancel := context.WithTimeout(ctx, clusterUpgradeTimeout)
defer cancel()

args := []string{"upgrade"}
if in.Spec.AirGap {
// TODO(upgrade): local-artifact-mirror-image should be included in the installation object
Expand Down

0 comments on commit 39afc76

Please sign in to comment.