cert-manager/pkg/controller/certificate-shim
Christopher Broglie 0f74d7536e Add renewBeforePercentage alternative to renewBefore
Since the actual duration is unknown until a cert has been issued,
providing an absolute duration for renewBefore can result in accidental
renewal loops. The new renewBeforePercentage field computes the
effective renewBefore using the actual duration, allowing users to
better express intent while maintaining backwards compatibility.

Fixes #4423, resolves #5821

Signed-off-by: Christopher Broglie <cbroglie@cloudflare.com>
2024-06-29 21:18:15 -07:00
..
gateways fix unused linter 2024-04-29 15:29:00 +02:00
ingresses fix gci linter 2024-04-29 13:47:25 +02:00
helper_test.go Add renewBeforePercentage alternative to renewBefore 2024-06-29 21:18:15 -07:00
helper.go Add renewBeforePercentage alternative to renewBefore 2024-06-29 21:18:15 -07:00
sync_test.go fix unparam linter 2024-04-30 10:47:21 +02:00
sync.go fix predeclared linter 2024-04-29 17:32:49 +02:00