cert-manager/pkg/util
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
..
cmapichecker fix gocritic linter 2024-04-29 15:50:47 +02:00
configfile fix gocritic linter 2024-04-29 15:50:47 +02:00
errors Remove bazel 🎉 2022-07-26 11:38:50 +01:00
feature Remove bazel 🎉 2022-07-26 11:38:50 +01:00
kube Swap upstream core informers factory with out wrapper 2023-03-22 09:03:16 +00:00
pki Add renewBeforePercentage alternative to renewBefore 2024-06-29 21:18:15 -07:00
predicate fix gci linter 2024-04-29 13:47:25 +02:00
profiling Remove bazel 🎉 2022-07-26 11:38:50 +01:00
useragent_test.go Fix gosec G601: Implicit memory aliasing of items from a range statement 2023-12-20 17:25:41 +00:00
useragent.go An http.RoundTripper which adds the HTTP User-Agent header to all requests 2024-03-20 10:24:47 +00:00
util_test.go fix unparam linter 2024-04-30 10:47:21 +02:00
util.go remove deprecated files and functions 2024-02-08 10:45:06 +01:00
version_test.go
version.go don't early-stop, instead return all versions 2021-07-29 15:06:31 +02:00