Skip to content

Commit 761bcd5

Browse files
author
Danil-Grigorev
committed
Enforce default leader elect lease duration to 90s for all controllers
Enforce this value in MAO deployment will ensure the value won't be overritten by changed CLI defaults in the future.
1 parent f4f091c commit 761bcd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/operator/sync.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ func newContainers(config *OperatorConfig, features map[string]bool) []corev1.Co
423423
"--logtostderr=true",
424424
"--v=3",
425425
"--leader-elect=true",
426+
"--leader-elect-lease-duration=90s",
426427
fmt.Sprintf("--namespace=%s", config.TargetNamespace),
427428
}
428429

0 commit comments

Comments
 (0)