cert-manager/cmd/cainjector
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
..
app Add flags to configure cainjector leader election 2020-12-19 18:00:54 +01:00
BUILD.bazel Set all log levels for info 2020-08-12 10:59:41 +02:00
main.go Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00