Repository navigation
Add renewal policy scenarios and link release notes to docs - #2210
cert-manager-prow[bot] merged 4 commits into
Conversation
✅ Deploy Preview for cert-manager ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Add worked, realistic scenarios (change-control windows, coordinating rotation with paired systems, avoiding renewal during a traffic freeze, and disabling renewal for manually-managed root CAs) to the existing renewal policies and renewal windows documentation. Also fix the v1.21 release notes entry for this feature: it referenced a non-existent `renewalPolicies` field (the actual field is `spec.renewal`), and linked to the implementation PR rather than to the user-facing documentation. Signed-off-by: Richard Wall <[email protected]>
Co-authored-by: Hemant Joshi <[email protected]> Signed-off-by: Richard Wall <[email protected]>
5e7b251 to
8f82fd2
Compare
|
I've replaced the change-freeze and paired-system scenarios: both promised guarantees that the Also scoped the with claude fable-5 |
The change-freeze and paired-system scenarios promised hard guarantees that the desiredRenewalTime fallback deliberately breaks: a weekly cron cannot exclude a freeze week, and a monthly window with 30d renewBefore has a dead zone in 31-day months. Replace them with the use cases that motivated the feature in cert-manager#6754 (renewal-triggered restarts rolling a Kafka cluster at peak load) and staffed-hours renewal, and add a guideline on window recurrence versus renewBefore slack. Also scope the policy: Disabled claim to automatic renewal, since other reissuance triggers still apply, and link the rehype-slug heading anchor from the release notes instead of adding a duplicate anchor. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Richard Wall <[email protected]>
833557f to
fb2b31d
Compare
Bare HH:MM times in prose are converted to empty divs by the MDX pipeline, breaking the paragraph layout. Inline code is unaffected, matching the existing pattern used earlier in the same file. Co-Authored-By: Claude Fable 5 <[email protected]> Signed-off-by: Richard Wall <[email protected]>
|
/label tide/merge-method-squash |
|
/lgtm with claude fable-5 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wallrj The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Preview: https://deploy-preview-2210--cert-manager.netlify.app/docs/usage/certificate/#renewal-policies-and-renewal-windows
Summary
Adds worked, realistic scenarios to the "Renewal policies and renewal windows" documentation (added in #2018 for the v1.21 release), and fixes the v1.21 release notes entry for the feature.
policy: Disabled, with the claim scoped to automatic renewal since other reissuance triggers (spec changes, deleted Secret,cmctl renew) still apply.renewBeforeslack, so a valid window always exists before expiry.renewalPoliciesfield which doesn't exist — the actual API field isspec.renewal— and linked the implementation PR (feat(certificate): renewal policy and windows code cert-manager#8258) rather than user-facing documentation. Updated to link the relevant section ofcertificate.md, using the heading anchor generated by rehype-slug rather than adding a duplicate explicit anchor.Motivation
While triaging cert-manager/cert-manager#9031 (a crash-loop bug specific to
renewal.policy: Disabled, introduced by the same feature), I noticed the release notes pointed at the implementation PR rather than the docs, and the docs' motivation for the feature was a single terse line with no worked examples.An earlier revision of this PR invented scenarios (change freezes, coordinating rotation with a paired HSM/partner system) that promised hard guarantees the feature's fallback behaviour deliberately breaks. Review found those examples broken — a 5-field cron cannot exclude a freeze week, and a monthly window with 30d
renewBeforeleaves a dead zone in 31-day months — so they were replaced with the use cases real users actually asked for in cert-manager/cert-manager#6754. See #2210 (comment) for details.Test plan
npm run check:spelling,npm run check:markdownandnpm run check:linkspass locally on the two changed files.#renewal-policies-and-renewal-windowsanchor resolves; times inside fenced YAML blocks are unaffected by the MDX emoji-shortcode pipeline, matching the existing pattern earlier in the same file.