cert-manager/cmd/cainjector/app
Julien ALEXANDRE f8fbea38b3
Add flags to configure cainjector leader election
This commit enables users to customize the behavior of the cainjector
regarding leader election by adding `--leader-election-lease-duration`,
`--leader-election-renew-deadline` and `--leader-election-retry-period`
flags. These flags are already available on the controller.

Prior to this change, the values of these options were inherited from
controller-runtime. This commit keeps the same defaults for the
cainjector, for backward compatibility, even though they differ from
those of the controller.

Signed-off-by: Julien ALEXANDRE <22328659+ndrpnt@users.noreply.github.com>
2020-12-19 18:00:54 +01:00
..
BUILD.bazel Use cancellable contexts and errgroups 2020-09-17 09:37:05 +01:00
start.go Add flags to configure cainjector leader election 2020-12-19 18:00:54 +01:00