Skip to content

Add renewal policy scenarios and link release notes to docs - #2210

Open
wallrj-cyberark wants to merge 2 commits into
cert-manager:masterfrom
wallrj-cyberark:docs-renewal-policy-scenarios
Open

Add renewal policy scenarios and link release notes to docs#2210
wallrj-cyberark wants to merge 2 commits into
cert-manager:masterfrom
wallrj-cyberark:docs-renewal-policy-scenarios

Conversation

@wallrj-cyberark

@wallrj-cyberark wallrj-cyberark commented Jul 17, 2026

Copy link
Copy Markdown
Member

Preview: https://deploy-preview-2210--cert-manager.netlify.app/docs/usage/certificate/#renewal-policies-and-windows

Summary

Adds worked, realistic scenarios to the existing "Renewal policies and renewal windows" documentation (added in #2018 for the v1.21 release), and fixes the v1.21 release notes entry for this feature.

  • Realistic scenarios: regulated change-control windows, coordinating rotation with a paired/downstream system, avoiding renewal during a traffic freeze, and disabling automatic renewal for manually-managed root/intermediate CAs — each with a worked YAML example.
  • Release notes fix: the existing v1.21 release notes entry referenced a renewalPolicies field, which doesn't exist — the actual API field is spec.renewal. It also linked to the implementation PR (feat(certificate): renewal policy and windows code cert-manager#8258) rather than to user-facing documentation. Updated it to link to the relevant section of certificate.md instead, so readers interested in the feature can go straight to the full documentation.

Motivation

While triaging cert-manager/cert-manager#9031 (a crash-loop bug specific to renewal.policy: Disabled, introduced by the same feature), noticed the release notes pointed at the implementation PR rather than the docs, and that the docs' motivation for the feature was a single terse line with no worked examples.

Test plan

No npm/Node toolchain was available in this environment, so ./scripts/verify could not be run locally. Confirmed instead via the Netlify deploy preview (linked above):

  • The new "Realistic scenarios" heading and renewal-policies-and-windows anchor render correctly.
  • All new times (03:00, 01:00, 04:00) render correctly inside their YAML code blocks — this repo's MDX pipeline treats bare HH:MM outside of code as an emoji shortcode, but fenced code blocks are unaffected, matching the existing (already-live) pattern used earlier in the same file.
  • The two acronyms introduced (HSM, mTLS) already appear elsewhere in the docs, so should already be spellcheck-whitelisted.
  • pull-cert-manager-website-verify CI job passed.

@cert-manager-prow cert-manager-prow Bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Jul 17, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign inteon for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 17, 2026
@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8f82fd2
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6a68cca65b9a0d00078500ba
😎 Deploy Preview https://deploy-preview-2210--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread content/docs/usage/certificate.md Outdated
Comment thread content/docs/usage/certificate.md Outdated
Comment thread content/docs/usage/certificate.md Outdated
Comment thread content/docs/usage/certificate.md Outdated
Comment thread content/docs/usage/certificate.md Outdated
Comment thread content/docs/usage/certificate.md Outdated
wallrj-cyberark and others added 2 commits July 28, 2026 08:37
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 <richard.wall@cyberark.com>
Co-authored-by: Hemant Joshi <mail2hemantjoshi@pm.me>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
@wallrj-cyberark
wallrj-cyberark force-pushed the docs-renewal-policy-scenarios branch from 5e7b251 to 8f82fd2 Compare July 28, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants