You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/manager/main.go
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,7 @@ func main() {
107
107
flag.BoolVar(&enableAuth, "enable-auth", true, "Enables TLS and adds bearer token to the headers (enabled by default)")
108
108
flag.IntVar(&cfg.MaxGroupPVC, "max-group-pvc", cfg.MaxGroupPVC, "Maximum number of PVCs allowed in a volume group")
109
109
flag.IntVar(&cfg.CSIAddonsNodeRetryDelay, util.CsiaddonsNodeRetryDelayKey, cfg.CSIAddonsNodeRetryDelay, "Duration, in seconds, the CSIAddonsNode reconciler must wait before retrying the connection to csi-addons sidecar")
110
+
flag.IntVar(&cfg.CronJobStaggerWindow, util.CronJobStaggerWindowKey, cfg.CronJobStaggerWindow, "Duration, in hours, that the CronJobs for KeyRotation and ReclaimSpace are staggered within. Defaults to 2 hours, set as 0 to disable.")
|`max-concurrent-reconciles`|`"100"`| Maximum number of concurrent reconciles |
10
+
|`max-group-pvcs`|`"100"`| Maximum number of PVCs allowed in a volume group |
11
+
|`csi-addons-node-retry-delay`|`"5"`| Duration, in seconds, that csi-addons reconcile must wait before retrying connection to the sidecar|
12
+
|`schedule-precedence`|`"pvc"`| The order in which the schedule annotation should be read |
13
+
|`cronjob-stagger-window`|`"2"`| Maximum stagger window, in hours, for key rotation and reclaim space CronJob schedules. Set to `0` to disable staggering|
14
14
15
15
[`csi-addons-config` ConfigMap](../deploy/controller/csi-addons-config.yaml) is provided as an example.
0 commit comments