diff --git a/pkg/crc/cluster/cluster.go b/pkg/crc/cluster/cluster.go index 5426fe1aa1..ad2201358a 100644 --- a/pkg/crc/cluster/cluster.go +++ b/pkg/crc/cluster/cluster.go @@ -507,6 +507,6 @@ func DeleteMCOLeaderLease(ctx context.Context, ocConfig oc.Config) error { if err := WaitForOpenshiftResource(ctx, ocConfig, "lease"); err != nil { return err } - _, _, err := ocConfig.RunOcCommand("delete", "-n", "openshift-machine-config-operator", "lease", "--all") + _, _, err := ocConfig.RunOcCommand("delete", "-A", "lease", "--all") return err }