add more options for vela-controller (#1769)

* add more option for controller

1. add ConcurrentReconciles for setting the concurrent reconcile number of the controller
2. add DependCheckWait for setting the time to wait for ApplicationConfiguration's dependent-resource ready

* fix test

* add controller reference
This commit is contained in:
yangsoon
2021-06-08 10:30:00 +08:00
committed by GitHub
parent a534c17e8a
commit e320a4b027
9 changed files with 82 additions and 8 deletions
@@ -52,4 +52,10 @@ type Args struct {
// LongWait is controller next reconcile interval time
LongWait time.Duration
// ConcurrentReconciles is the concurrent reconcile number of the controller
ConcurrentReconciles int
// DependCheckWait is the time to wait for ApplicationConfiguration's dependent-resource ready
DependCheckWait time.Duration
}