Skip to content

Add upgrade note for tokenrequest RBAC removal in 1.21#2171

Open
wallrj-cyberark wants to merge 1 commit into
cert-manager:release-nextfrom
wallrj-cyberark:revert-default-tokenrequest-rbac-docs
Open

Add upgrade note for tokenrequest RBAC removal in 1.21#2171
wallrj-cyberark wants to merge 1 commit into
cert-manager:release-nextfrom
wallrj-cyberark:revert-default-tokenrequest-rbac-docs

Conversation

@wallrj-cyberark

@wallrj-cyberark wallrj-cyberark commented Jun 23, 2026

Copy link
Copy Markdown
Member

Preview:

Summary

Document the breaking change from cert-manager/cert-manager#8931, which removes the default tokenrequest Role and RoleBinding from the Helm chart in cert-manager 1.21.

Motivation

cert-manager/cert-manager#8931 removes chart RBAC that no documented workflow requires. Users who relied on the undocumented pattern of pointing serviceAccountRef.name at the controller ServiceAccount need advance notice and migration guidance.

Changes

  • upgrading-1.20-1.21.md: replace TODO with a numbered breaking-change entry explaining the removal and listing the two migration paths (create own RBAC, or use a dedicated ServiceAccount).
  • release-notes-1.21.md: add a Major Themes subsection with ⚠️ Breaking change callout, full context (origin in #7213, docs removal in website#1555, threat-model credit to reporters), and an entry under "Other (Cleanup or Flake)".
  • .spelling: add everping and kodareef (security reporter usernames).

Test plan

  • Verified relative links to vault.md, route53.md, upgrading-1.20-1.21.md, and threat-modelling.md are correct
  • Follows the same format as release-notes-1.18.md for breaking changes
  • Rebased onto release-next after Sync the release-next branch with master #2172 (sync with master) merged, bringing in the threat-modelling.md page

Ref cert-manager/cert-manager#8931
Ref cert-manager/cert-manager#7213

@cert-manager-prow cert-manager-prow Bot added 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. labels Jun 23, 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

@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit bcd8c3d
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6a3a577c5509df00084c1dde
😎 Deploy Preview https://deploy-preview-2171--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.

Document the breaking change from cert-manager/cert-manager#8931 which
removes the default tokenrequest Role and RoleBinding from the Helm
chart. Add an upgrading note with migration guidance and a release note
entry under Major Themes with the ⚠️ Breaking change callout.

Signed-off-by: Richard Wall <richard.wall@cyberark.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents a breaking change in cert-manager 1.21 where the Helm chart no longer creates the default tokenrequest Role/RoleBinding, and provides upgrade guidance for users who previously relied on the controller ServiceAccount being able to mint its own tokens.

Changes:

  • Added a breaking-change upgrade note for v1.20 → v1.21 describing the RBAC removal and migration options.
  • Added a “Major Themes” breaking-change callout and a corresponding entry under “Other (Cleanup or Flake)” in the 1.21 release notes.
  • Updated the repository spelling allowlist with security reporter usernames.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
content/docs/releases/upgrading/upgrading-1.20-1.21.md Replaces placeholder with a concrete breaking-change upgrade entry and migration guidance.
content/docs/releases/release-notes/release-notes-1.21.md Adds a breaking-change callout and a cleanup entry documenting the RBAC removal and context.
.spelling Extends spellcheck allowlist for newly mentioned usernames.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +15 to +19
- create your own `Role` and `RoleBinding` granting `serviceaccounts/token:
create` on that ServiceAccount, or
- migrate to a dedicated ServiceAccount with its own RBAC (recommended —
see the [Vault](../../configuration/vault.md) or
[Route53](../../configuration/acme/dns01/route53.md) documentation).
Comment on lines +32 to +33
- create your own `Role` and `RoleBinding` granting `serviceaccounts/token:
create` on that ServiceAccount, or
Comment thread .spelling
Comment on lines +1539 to +1540
everping
kodareef
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