Repository navigation
feat: Add AWS authentication method for Vault Issuer - #8422
cert-manager-prow[bot] merged 31 commits into
Conversation
Signed-off-by: bitloi <[email protected]>
|
Hi @bitloi. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: bitloi <[email protected]>
- Add VaultAWSAuth, VaultGCPAuth, VaultAzureAuth to internal API types - Update test expectation for new auth methods in error message Signed-off-by: bitloi <[email protected]>
Signed-off-by: bitloi <[email protected]>
Signed-off-by: bitloi <[email protected]>
|
Hey @maelvls Can you please review the pr? |
erikgb
left a comment
There was a problem hiding this comment.
Thanks, @bitloi! 🚀 I just finished my first review pass, and there are still things to improve. But the overall solution looks good to me! 👍
Have you managed to test your changes end-to-end with the public clouds? That's always a challenge when considering new/changed features interacting with external systems. If yes, please document how you have tested.
/ok-to-test
|
/kind feature |
There was a problem hiding this comment.
Pull request overview
This PR extends the Vault issuer to support authenticating via AWS IAM, GCP identity, and Azure identity in addition to existing token/AppRole/Kubernetes/client-certificate methods, reducing reliance on static credentials.
Changes:
- Extends the
VaultAuthAPI (both versioned and internal types) to includeaws,gcp, andazureauth configurations, with dedicated structs (VaultAWSAuth,VaultGCPAuth,VaultAzureAuth) and associated schema/validation changes. - Updates Vault setup logic and the Vault client to recognize the new auth types and implement provider-specific flows (
requestTokenWithAWSAuth,requestTokenWithGCPAuth,requestTokenWithAzureAuth). - Adjusts validation tests and adds a PR description document describing the feature and example usage.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
pkg/issuer/vault/setup.go |
Extends setup-time validation to recognize auth.aws, auth.gcp, and auth.azure, enforce that exactly one auth method is configured, and require role for each new auth type before constructing the Vault client. |
pkg/apis/certmanager/v1/types_issuer.go |
Adds versioned API types for VaultAWSAuth, VaultGCPAuth, and VaultAzureAuth, wires them into VaultAuth, and documents fields and defaults for CRD consumers. |
internal/vault/vault.go |
Implements the runtime auth flows for AWS (IAM STS signed request), GCP (GCE/IAM via metadata or projected tokens), and Azure (MSI/Workload Identity via IMDS or projected tokens), and updates setToken to use these methods when configured. |
internal/apis/certmanager/validation/issuer.go |
Extends ValidateVaultIssuerAuth to treat aws, gcp, and azure as additional mutually exclusive auth options, with required role and serviceAccountRef.name validation where applicable, and updates the “please supply one of” error message. |
internal/apis/certmanager/validation/issuer_test.go |
Updates expected error message for missing auth to mention the new auth methods; existing tests still focus on token/AppRole/Kubernetes/clientCertificate paths. |
internal/apis/certmanager/types_issuer.go |
Mirrors the new Vault auth structs on the internal API types used by the controller, adding internal representations of AWS/GCP/Azure auth configuration. |
PR_DESCRIPTION.md |
Adds high-level documentation of the new capability, including motivation, a summary of API changes, and an example configuration for AWS-backed Vault Issuers. |
Key review findings (high level):
- The new v1 API fields for Vault AWS/GCP/Azure auth are not yet wired into the internal conversion functions (
internal/apis/certmanager/v1/zz_generated.conversion.go), soauth.aws,auth.gcp, andauth.azurewill be dropped when converting between versioned and internal types; the conversion layer needs to be regenerated/extended before this feature will function end-to-end. VaultAWSAuth.AuthTypeis currently ignored inrequestTokenWithAWSAuth, and theRegionand AzureResourcedefaults in code do not fully match the documented behavior in the API comments; these inconsistencies should be reconciled.- There is existing unit test coverage around Vault issuer auth validation and Vault setup; adding tests for the new AWS/GCP/Azure branches (both in validation and
Setup) would bring the new logic in line with the rest of the codebase’s test coverage and help catch regressions (including string changes in error messages used by tests elsewhere).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
but this is my first contribution, would like to continue after its merged
…On Tue, Mar 3, 2026 at 5:46 PM Adam Talbot ***@***.***> wrote:
*ThatsMrTalbot* left a comment (cert-manager/cert-manager#8422)
<#8422 (comment)>
@bitloi <https://github.com/bitloi> we do not have a dev branch, you can
totally work on other issues though, just can just rebase once this is
merged
—
Reply to this email directly, view it on GitHub
<#8422 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJOILIUNFMH2UTQON73QN34O5ODNAVCNFSM6AAAAACSIGJP3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSOJUGAZDQMBUGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
@bitloi I've spent a good couple of hours working out how best to test this, the issue is we (cert-manager maintainers) don't have any AWS infra to test against. I've put out a message to our other maintainers outlining the pain points in testing this in slack: https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1772887928941199 What I propose to keep this moving is the following:
You are also very welcome to join too on Thursday if you want: https://cert-manager.io/docs/contributing/#community-meetings |
- VaultAuth/setup: document only aws (drop gcp/azure until implemented) - IRSA audiences: always include sts.amazonaws.com, append custom audiences - Rename IamRoleArn to IAMRoleARN (Go initialisms); keep json tag iamRoleArn - AWS auth comments: add EKS Pod Identity (PIA), ambient credentials - getAWSCredentialsFromAmbient comment: add EKS Pod Identity - Regenerate CRDs, codegen; add IAMRoleARN to openapi names_match exceptions Signed-off-by: bitloi <[email protected]>
fe20bd2 to
ad2588d
Compare
|
Sorry for the delay, been busy in the ramp up to KubeCon. I think this is in a good place. I can see that GitHub has 1 requested change from @hjoshi123, so I'll approve and put a /hold on it so @hjoshi123 can update/dismiss that. Thanks for your effort on this @bitloi, and thanks for the second pair of eyes @hjoshi123 /lgtm |
|
Thank you for making the changes @bitloi.. I agree with @ThatsMrTalbot here that we are at a good point to merge and since this doesnt affect any existing auth behavior and only lets people try out new AWS auth I am comfortable merging this /lgtm |
|
/unhold |
|
Thank you! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hjoshi123, ThatsMrTalbot 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 |
|
@bitloi This change has been included in v1.21.0-beta.0, which is now published. If you are able to install the beta and verify the AWS IAM authentication for the Vault issuer in your environment, that would be much appreciated. Thank you for the contribution. |
…1.20.3 ➔ v1.21.0) (#1476) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/jetstack/charts/cert-manager](https://cert-manager.io) ([source](https://github.com/cert-manager/cert-manager)) | minor | `v1.20.3` → `v1.21.0` | --- ### Release Notes <details> <summary>cert-manager/cert-manager (quay.io/jetstack/charts/cert-manager)</summary> ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](cert-manager/cert-manager@v1.21.0...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart >⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole >⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed >⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](cert-manager/cert-manager#8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](cert-manager/cert-manager#8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](cert-manager/cert-manager#8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](cert-manager/cert-manager#8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](cert-manager/cert-manager#8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](cert-manager/cert-manager#8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](cert-manager/cert-manager#8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](cert-manager/cert-manager#8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](cert-manager/cert-manager#8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](cert-manager/cert-manager#8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](cert-manager/cert-manager#8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](cert-manager/cert-manager#8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](cert-manager/cert-manager#8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](cert-manager/cert-manager#8808), [#​8779](cert-manager/cert-manager#8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [#​8976](cert-manager/cert-manager#8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](cert-manager/cert-manager#8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](cert-manager/cert-manager#8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](cert-manager/cert-manager#8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](cert-manager/cert-manager#8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](cert-manager/cert-manager#8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](cert-manager/cert-manager#8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](cert-manager/cert-manager#8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](cert-manager/cert-manager#8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](cert-manager/cert-manager#8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](cert-manager/cert-manager#8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](cert-manager/cert-manager#8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](cert-manager/cert-manager#8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](cert-manager/cert-manager#8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](cert-manager/cert-manager#8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](cert-manager/cert-manager#8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](cert-manager/cert-manager#8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](cert-manager/cert-manager#8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](cert-manager/cert-manager#8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](cert-manager/cert-manager#8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](cert-manager/cert-manager#8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](cert-manager/cert-manager#8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](cert-manager/cert-manager#8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](cert-manager/cert-manager#8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](cert-manager/cert-manager#8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](cert-manager/cert-manager#8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](cert-manager/cert-manager#7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](cert-manager/cert-manager#8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](cert-manager/cert-manager#8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](cert-manager/cert-manager#8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](cert-manager/cert-manager#8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](cert-manager/cert-manager#8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](cert-manager/cert-manager#8808). ([#​8843](cert-manager/cert-manager#8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](cert-manager/cert-manager#8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](cert-manager/cert-manager#8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](cert-manager/cert-manager#8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](cert-manager/cert-manager#8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](cert-manager/cert-manager#8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](cert-manager/cert-manager#8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](cert-manager/cert-manager#8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](cert-manager/cert-manager#8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](cert-manager/cert-manager#8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](cert-manager/cert-manager#8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](cert-manager/cert-manager#8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](cert-manager/cert-manager#8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](cert-manager/cert-manager#8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](cert-manager/cert-manager#8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](cert-manager/cert-manager#8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](cert-manager/cert-manager#8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](cert-manager/cert-manager#8849), [@​ltwongaa](https://github.com/ltwongaa)) ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](cert-manager/cert-manager@v1.20.3...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart >⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole >⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed >⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](cert-manager/cert-manager#8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](cert-manager/cert-manager#8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](cert-manager/cert-manager#8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](cert-manager/cert-manager#8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](cert-manager/cert-manager#8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](cert-manager/cert-manager#8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](cert-manager/cert-manager#8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](cert-manager/cert-manager#8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](cert-manager/cert-manager#8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](cert-manager/cert-manager#8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](cert-manager/cert-manager#8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](cert-manager/cert-manager#8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](cert-manager/cert-manager#8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](cert-manager/cert-manager#8808), [#​8779](cert-manager/cert-manager#8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [#​8976](cert-manager/cert-manager#8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](cert-manager/cert-manager#8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](cert-manager/cert-manager#8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](cert-manager/cert-manager#8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](cert-manager/cert-manager#8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](cert-manager/cert-manager#8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](cert-manager/cert-manager#8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](cert-manager/cert-manager#8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](cert-manager/cert-manager#8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](cert-manager/cert-manager#8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](cert-manager/cert-manager#8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](cert-manager/cert-manager#8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](cert-manager/cert-manager#8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](cert-manager/cert-manager#8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](cert-manager/cert-manager#8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](cert-manager/cert-manager#8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](cert-manager/cert-manager#8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](cert-manager/cert-manager#8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](cert-manager/cert-manager#8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](cert-manager/cert-manager#8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](cert-manager/cert-manager#8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](cert-manager/cert-manager#8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](cert-manager/cert-manager#8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](cert-manager/cert-manager#8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](cert-manager/cert-manager#8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](cert-manager/cert-manager#8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](cert-manager/cert-manager#7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](cert-manager/cert-manager#8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](cert-manager/cert-manager#8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](cert-manager/cert-manager#8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](cert-manager/cert-manager#8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](cert-manager/cert-manager#8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](cert-manager/cert-manager#8808). ([#​8843](cert-manager/cert-manager#8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](cert-manager/cert-manager#8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](cert-manager/cert-manager#8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](cert-manager/cert-manager#8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](cert-manager/cert-manager#8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](cert-manager/cert-manager#8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](cert-manager/cert-manager#8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](cert-manager/cert-manager#8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](cert-manager/cert-manager#8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](cert-manager/cert-manager#8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](cert-manager/cert-manager#8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](cert-manager/cert-manager#8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](cert-manager/cert-manager#8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](cert-manager/cert-manager#8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](cert-manager/cert-manager#8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](cert-manager/cert-manager#8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](cert-manager/cert-manager#8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](cert-manager/cert-manager#8849), [@​ltwongaa](https://github.com/ltwongaa)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEwMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/1476
…1.20.3 ➔ v1.21.0) (#273) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/jetstack/charts/cert-manager](https://cert-manager.io) ([source](https://github.com/cert-manager/cert-manager)) | minor | `v1.20.3` → `v1.21.0` | --- ### Release Notes <details> <summary>cert-manager/cert-manager (quay.io/jetstack/charts/cert-manager)</summary> ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](cert-manager/cert-manager@v1.21.0...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart >⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole >⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed >⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](cert-manager/cert-manager#8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](cert-manager/cert-manager#8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](cert-manager/cert-manager#8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](cert-manager/cert-manager#8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](cert-manager/cert-manager#8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](cert-manager/cert-manager#8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](cert-manager/cert-manager#8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](cert-manager/cert-manager#8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](cert-manager/cert-manager#8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](cert-manager/cert-manager#8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](cert-manager/cert-manager#8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](cert-manager/cert-manager#8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](cert-manager/cert-manager#8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](cert-manager/cert-manager#8808), [#​8779](cert-manager/cert-manager#8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [#​8976](cert-manager/cert-manager#8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](cert-manager/cert-manager#8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](cert-manager/cert-manager#8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](cert-manager/cert-manager#8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](cert-manager/cert-manager#8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](cert-manager/cert-manager#8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](cert-manager/cert-manager#8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](cert-manager/cert-manager#8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](cert-manager/cert-manager#8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](cert-manager/cert-manager#8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](cert-manager/cert-manager#8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](cert-manager/cert-manager#8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](cert-manager/cert-manager#8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](cert-manager/cert-manager#8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](cert-manager/cert-manager#8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](cert-manager/cert-manager#8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](cert-manager/cert-manager#8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](cert-manager/cert-manager#8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](cert-manager/cert-manager#8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](cert-manager/cert-manager#8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](cert-manager/cert-manager#8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](cert-manager/cert-manager#8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](cert-manager/cert-manager#8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](cert-manager/cert-manager#8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](cert-manager/cert-manager#8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](cert-manager/cert-manager#8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](cert-manager/cert-manager#7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](cert-manager/cert-manager#8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](cert-manager/cert-manager#8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](cert-manager/cert-manager#8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](cert-manager/cert-manager#8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](cert-manager/cert-manager#8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](cert-manager/cert-manager#8808). ([#​8843](cert-manager/cert-manager#8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](cert-manager/cert-manager#8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](cert-manager/cert-manager#8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](cert-manager/cert-manager#8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](cert-manager/cert-manager#8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](cert-manager/cert-manager#8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](cert-manager/cert-manager#8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](cert-manager/cert-manager#8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](cert-manager/cert-manager#8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](cert-manager/cert-manager#8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](cert-manager/cert-manager#8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](cert-manager/cert-manager#8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](cert-manager/cert-manager#8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](cert-manager/cert-manager#8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](cert-manager/cert-manager#8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](cert-manager/cert-manager#8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](cert-manager/cert-manager#8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](cert-manager/cert-manager#8849), [@​ltwongaa](https://github.com/ltwongaa)) ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](cert-manager/cert-manager@v1.20.3...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart >⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole >⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed >⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](cert-manager/cert-manager#8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](cert-manager/cert-manager#8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](cert-manager/cert-manager#8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](cert-manager/cert-manager#8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](cert-manager/cert-manager#8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](cert-manager/cert-manager#8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](cert-manager/cert-manager#8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](cert-manager/cert-manager#8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](cert-manager/cert-manager#8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](cert-manager/cert-manager#8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](cert-manager/cert-manager#8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](cert-manager/cert-manager#8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](cert-manager/cert-manager#8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](cert-manager/cert-manager#8808), [#​8779](cert-manager/cert-manager#8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [#​8976](cert-manager/cert-manager#8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](cert-manager/cert-manager#8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](cert-manager/cert-manager#8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](cert-manager/cert-manager#8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](cert-manager/cert-manager#8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](cert-manager/cert-manager#8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](cert-manager/cert-manager#8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](cert-manager/cert-manager#8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](cert-manager/cert-manager#8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](cert-manager/cert-manager#8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](cert-manager/cert-manager#8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](cert-manager/cert-manager#8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](cert-manager/cert-manager#8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](cert-manager/cert-manager#8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](cert-manager/cert-manager#8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](cert-manager/cert-manager#8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](cert-manager/cert-manager#8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](cert-manager/cert-manager#8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](cert-manager/cert-manager#8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](cert-manager/cert-manager#8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](cert-manager/cert-manager#8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](cert-manager/cert-manager#8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](cert-manager/cert-manager#8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](cert-manager/cert-manager#8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](cert-manager/cert-manager#8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](cert-manager/cert-manager#8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](cert-manager/cert-manager#8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](cert-manager/cert-manager#8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](cert-manager/cert-manager#7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](cert-manager/cert-manager#8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](cert-manager/cert-manager#8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](cert-manager/cert-manager#8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](cert-manager/cert-manager#8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](cert-manager/cert-manager#8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](cert-manager/cert-manager#8808). ([#​8843](cert-manager/cert-manager#8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](cert-manager/cert-manager#8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](cert-manager/cert-manager#8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](cert-manager/cert-manager#8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](cert-manager/cert-manager#8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](cert-manager/cert-manager#8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](cert-manager/cert-manager#8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](cert-manager/cert-manager#8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](cert-manager/cert-manager#8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](cert-manager/cert-manager#8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](cert-manager/cert-manager#8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](cert-manager/cert-manager#8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](cert-manager/cert-manager#8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](cert-manager/cert-manager#8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](cert-manager/cert-manager#8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](cert-manager/cert-manager#8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](cert-manager/cert-manager#8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](cert-manager/cert-manager#8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](cert-manager/cert-manager#8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](cert-manager/cert-manager#8849), [@​ltwongaa](https://github.com/ltwongaa)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Warsaw) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTYuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=--> Reviewed-on: https://git.ajgon.casa/deedee/mark13/pulls/273
…1.20.3 ➔ v1.21.0) (#487) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/jetstack/charts/cert-manager](https://cert-manager.io) ([source](https://github.com/cert-manager/cert-manager)) | minor | `v1.20.3` → `v1.21.0` | --- ### Release Notes <details> <summary>cert-manager/cert-manager (quay.io/jetstack/charts/cert-manager)</summary> ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](https://github.com/cert-manager/cert-manager/compare/v1.21.0...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Known Issues - **Log spam for non-cert-manager-labelled Secret events**: the typed predicates refactoring ([#​8407](https://github.com/cert-manager/cert-manager/issues/8407)) causes `filteredEventHandler` type assertion failures (`"OnAdd missing Object"`, `"OnUpdate missing ObjectOld"`, `"OnDelete missing Object"`) for every non-cert-manager-labelled Secret event, multiplied by 7 certificate sub-controllers. **This is cosmetic only** — the affected controllers only need events from cert-manager-labelled Secrets (which arrive via the typed informer); the metadata informer events were always filtered out by predicates in previous versions. Issuer and ClusterIssuer controllers are not affected. See [#​8994](https://github.com/cert-manager/cert-manager/issues/8994) for details. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart > ⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole > ⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](https://github.com/cert-manager/cert-manager/security/advisories/GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed > ⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](https://github.com/cert-manager/cert-manager/issues/8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](https://github.com/cert-manager/cert-manager/issues/8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](https://github.com/cert-manager/cert-manager/issues/8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](https://github.com/cert-manager/cert-manager/issues/8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](https://github.com/cert-manager/cert-manager/issues/8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](https://github.com/cert-manager/cert-manager/issues/8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](https://github.com/cert-manager/cert-manager/issues/8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](https://github.com/cert-manager/cert-manager/issues/8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](https://github.com/cert-manager/cert-manager/issues/8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](https://github.com/cert-manager/cert-manager/issues/8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](https://github.com/cert-manager/cert-manager/issues/8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](https://github.com/cert-manager/cert-manager/issues/8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](https://github.com/cert-manager/cert-manager/issues/8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](https://github.com/cert-manager/cert-manager/issues/8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](https://github.com/cert-manager/cert-manager/issues/8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](https://github.com/cert-manager/cert-manager/issues/8808), [#​8779](https://github.com/cert-manager/cert-manager/issues/8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](https://github.com/cert-manager/cert-manager/issues/8791), [#​8976](https://github.com/cert-manager/cert-manager/issues/8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](https://github.com/cert-manager/cert-manager/issues/8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](https://github.com/cert-manager/cert-manager/issues/8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](https://github.com/cert-manager/cert-manager/issues/8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](https://github.com/cert-manager/cert-manager/issues/8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](https://github.com/cert-manager/cert-manager/issues/8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](https://github.com/cert-manager/cert-manager/issues/8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](https://github.com/cert-manager/cert-manager/issues/8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](https://github.com/cert-manager/cert-manager/issues/8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](https://github.com/cert-manager/cert-manager/issues/8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](https://github.com/cert-manager/cert-manager/issues/8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](https://github.com/cert-manager/cert-manager/issues/8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](https://github.com/cert-manager/cert-manager/issues/8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](https://github.com/cert-manager/cert-manager/issues/8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](https://github.com/cert-manager/cert-manager/issues/8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](https://github.com/cert-manager/cert-manager/issues/8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](https://github.com/cert-manager/cert-manager/issues/8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](https://github.com/cert-manager/cert-manager/issues/8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](https://github.com/cert-manager/cert-manager/issues/8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](https://github.com/cert-manager/cert-manager/issues/8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](https://github.com/cert-manager/cert-manager/issues/8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](https://github.com/cert-manager/cert-manager/issues/8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](https://github.com/cert-manager/cert-manager/issues/8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](https://github.com/cert-manager/cert-manager/issues/8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](https://github.com/cert-manager/cert-manager/issues/8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](https://github.com/cert-manager/cert-manager/issues/8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](https://github.com/cert-manager/cert-manager/issues/8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](https://github.com/cert-manager/cert-manager/issues/8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](https://github.com/cert-manager/cert-manager/issues/8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](https://github.com/cert-manager/cert-manager/issues/7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](https://github.com/cert-manager/cert-manager/issues/8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](https://github.com/cert-manager/cert-manager/issues/8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](https://github.com/cert-manager/cert-manager/issues/8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](https://github.com/cert-manager/cert-manager/issues/8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](https://github.com/cert-manager/cert-manager/issues/8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](https://github.com/cert-manager/cert-manager/issues/8808). ([#​8843](https://github.com/cert-manager/cert-manager/issues/8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](https://github.com/cert-manager/cert-manager/issues/8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](https://github.com/cert-manager/cert-manager/issues/8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](https://github.com/cert-manager/cert-manager/issues/8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](https://github.com/cert-manager/cert-manager/issues/8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](https://github.com/cert-manager/cert-manager/issues/8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](https://github.com/cert-manager/cert-manager/issues/8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](https://github.com/cert-manager/cert-manager/issues/8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](https://github.com/cert-manager/cert-manager/issues/8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](https://github.com/cert-manager/cert-manager/issues/8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](https://github.com/cert-manager/cert-manager/issues/8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](https://github.com/cert-manager/cert-manager/issues/8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](https://github.com/cert-manager/cert-manager/issues/8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](https://github.com/cert-manager/cert-manager/issues/8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](https://github.com/cert-manager/cert-manager/issues/8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](https://github.com/cert-manager/cert-manager/issues/8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](https://github.com/cert-manager/cert-manager/issues/8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](https://github.com/cert-manager/cert-manager/issues/8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](https://github.com/cert-manager/cert-manager/issues/8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](https://github.com/cert-manager/cert-manager/issues/8849), [@​ltwongaa](https://github.com/ltwongaa)) ### [`v1.21.0`](https://github.com/cert-manager/cert-manager/releases/tag/v1.21.0) [Compare Source](https://github.com/cert-manager/cert-manager/compare/v1.20.3...v1.21.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. cert-manager 1.21 brings ACME Renewal Information (ARI) support, AWS IAM authentication for the Vault issuer, several security hardening changes, and continued improvements to Gateway API integration and cainjector. There are three breaking changes related to Helm chart RBAC and metrics values — review them carefully before upgrading. ##### Known Issues - **Log spam for non-cert-manager-labelled Secret events**: the typed predicates refactoring ([#​8407](https://github.com/cert-manager/cert-manager/issues/8407)) causes `filteredEventHandler` type assertion failures (`"OnAdd missing Object"`, `"OnUpdate missing ObjectOld"`, `"OnDelete missing Object"`) for every non-cert-manager-labelled Secret event, multiplied by 7 certificate sub-controllers. **This is cosmetic only** — the affected controllers only need events from cert-manager-labelled Secrets (which arrive via the typed informer); the metadata informer events were always filtered out by predicates in previous versions. Issuer and ClusterIssuer controllers are not affected. See [#​8994](https://github.com/cert-manager/cert-manager/issues/8994) for details. ##### Major Themes ##### Default `tokenrequest` RBAC removed from Helm chart > ⚠️ Breaking change The Helm chart no longer creates a default `Role` and `RoleBinding` granting the cert-manager controller permission to create tokens for its own ServiceAccount (`serviceaccounts/token: create`). No documented workflow requires this RBAC — the Route53 docs section that motivated it was removed in 2024. If you use `serviceAccountRef.name` pointing at the controller ServiceAccount, you must now either create your own `Role`/`RoleBinding` granting `serviceaccounts/token: create`, or migrate to a dedicated ServiceAccount (recommended — see the [Vault](https://cert-manager.io/docs/configuration/vault/) or [Route53](https://cert-manager.io/docs/configuration/acme/dns01/route53/) documentation). ##### Restrict Challenge and Order RBAC in `cert-manager-edit` ClusterRole > ⚠️ Potentially breaking change The `cert-manager-edit` aggregate ClusterRole no longer grants `create` for `challenges.acme.cert-manager.io` or `create`, `patch`, `update` for `orders.acme.cert-manager.io` ([`GHSA-8rvj-mm4h-c258`](https://github.com/cert-manager/cert-manager/security/advisories/GHSA-8rvj-mm4h-c258)). These resources are internal to cert-manager's ACME workflow. Challenge `patch` and `update` are retained because users may need them to remove stuck finalizers. This change was already shipped in v1.20.3 and v1.19.6, so if you are running one of those versions this will not be a breaking change. If you have tooling that creates Challenge or Order resources directly, you will need to grant those permissions explicitly. ##### Metrics port name and path Helm values removed > ⚠️ Breaking change The Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path` have been removed. The controller Service metrics port has been renamed from `tcp-prometheus-servicemonitor` to `http-metrics`. Because the Helm values schema uses `additionalProperties: false`, users who still have any of the removed keys in their values overrides will see a schema validation error on upgrade — remove them before upgrading. ([#​8952](https://github.com/cert-manager/cert-manager/issues/8952)) ##### ACME and Certificate Management - **ACME Renewal Information (ARI)**: experimental support for [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773) behind the `ACMEUseARI` feature gate. When enabled, cert-manager queries the ACME server's `renewalInfo` endpoint for the recommended renewal window, allowing servers like Let's Encrypt to proactively prompt renewal during mass revocations or CA key rollovers. ([#​8798](https://github.com/cert-manager/cert-manager/issues/8798)) - **`waitInsteadOfSelfCheck` solver option**: skip cert-manager's own self-check and instead wait a configured duration before asking the ACME server to validate. An escape hatch for split-horizon DNS and NAT hairpin environments. See [configuration details](https://cert-manager.io/docs/configuration/acme/#skip-the-self-check-with-waitinsteadofselfcheck). ([#​8858](https://github.com/cert-manager/cert-manager/issues/8858)) - **AWS IAM authentication for Vault**: the Vault issuer now supports IRSA, EKS Pod Identity, and ambient EC2/ECS credentials, removing the need for long-lived AWS Secrets. ([#​8422](https://github.com/cert-manager/cert-manager/issues/8422)) - **Certificate renewal policies**: a new `renewalPolicies` field on the Certificate API provides more expressive control over renewal scheduling, complementing `renewBefore` and `renewBeforePercentage`. ([#​8258](https://github.com/cert-manager/cert-manager/issues/8258)) - **Configurable CertificateRequest retry backoff**: the new `--certificate-request-maximum-backoff-duration` flag (default: 32 hours) caps the exponential backoff for failed CertificateRequests, useful for environments with scheduled CA maintenance windows. ([#​8893](https://github.com/cert-manager/cert-manager/issues/8893)) - **Modern2026 [PKCS#12](https://github.com/PKCS/cert-manager/issues/12) profile**: a new FIPS 140-3 compatible encoding profile using AES-256 + SHA-256 KDFs instead of legacy 3DES/RC2. ([#​8841](https://github.com/cert-manager/cert-manager/issues/8841)) - **Webhook certificate renewal after system suspend**: the webhook now detects missed certificate renewals after system suspend (S3/S4) or VM live migration by polling wall-clock time, recovering within one minute of resume. ([#​8464](https://github.com/cert-manager/cert-manager/issues/8464)) ##### Gateway API and cainjector - **HTTP01 ListenerSet parentRef fallback**: the `acme.cert-manager.io/http01-parentreffallback: "true"` annotation causes cert-manager to use the parent Gateway for solver HTTPRoutes instead of the ListenerSet, enabling TLS-only ListenerSets to use a shared HTTP listener for ACME challenges. ([#​8749](https://github.com/cert-manager/cert-manager/issues/8749)) - **`cert-manager.io/ignore-tls-listeners` annotation**: exclude specific Gateway TLS listeners from certificate management. ([#​8727](https://github.com/cert-manager/cert-manager/issues/8727)) - **Additional listener protocols**: configurable listener protocols beyond the default set. ([#​8683](https://github.com/cert-manager/cert-manager/issues/8683)) - **`enableGatewayAPI` configuration restructure**: `enableGatewayAPI` and `enableGatewayAPIListenerSet` are deprecated in favor of `gatewayAPI.enabled` / `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](https://github.com/cert-manager/cert-manager/issues/8732)) - **`CAInjectorMerging` promoted to GA**: unconditionally enabled; will be removed in a future release. ([#​8583](https://github.com/cert-manager/cert-manager/issues/8583)) - **cainjector server-side apply unconditional**: the `ServerSideApply` feature gate is deprecated. ([#​8692](https://github.com/cert-manager/cert-manager/issues/8692)) - **cainjector `--ignore-namespaces` flag**: skip specified namespaces when watching Secrets for injection. ([#​8614](https://github.com/cert-manager/cert-manager/issues/8614)) ##### Deployment and Observability - **Venafi OAuth token observability**: a new `AuthFailed` Issuer condition reason distinguishes bad credentials from transient errors. PANW NGTS is now supported as a Venafi backend. ([#​8808](https://github.com/cert-manager/cert-manager/issues/8808), [#​8779](https://github.com/cert-manager/cert-manager/issues/8779)) - **`runtimeClassName` support**: configurable for cert-manager components and ACME HTTP01 solver pods. ([#​8791](https://github.com/cert-manager/cert-manager/issues/8791), [#​8976](https://github.com/cert-manager/cert-manager/issues/8976)) - **`startupapicheck.ttlSecondsAfterFinished`**: opt-in automatic cleanup of the startupapicheck Job. ([#​8523](https://github.com/cert-manager/cert-manager/issues/8523)) - **`--acme-http01-solver-extra-labels`**: propagate `global.commonLabels` to dynamically-created ACME HTTP01 solver resources. ([#​8761](https://github.com/cert-manager/cert-manager/issues/8761)) ##### Notable Bug Fixes - **Integer overflow in `renewBeforePercentage`**: Certificates with durations longer than approximately 3 years were incorrectly rejected or assigned incorrect renewal times. ([#​8947](https://github.com/cert-manager/cert-manager/issues/8947)) - **Infinite re-issuance loop**: cert-manager no longer loops when an issuer returns an already-expired certificate. ([#​8610](https://github.com/cert-manager/cert-manager/issues/8610)) - **ACME transient network errors**: challenges no longer permanently fail on TLS handshake timeouts, DNS resolution failures, or context cancellation during nonce fetches and authorization waits. ([#​8760](https://github.com/cert-manager/cert-manager/issues/8760)) - **DNS-over-HTTPS response body cap**: response body reads are now bounded at 128 KB to prevent potential OOM. ([#​8803](https://github.com/cert-manager/cert-manager/issues/8803)) - **Vault path traversal**: the Vault issuer webhook now rejects `..` path segments, preventing `path.Join` from silently resolving relative segments. ([#​8930](https://github.com/cert-manager/cert-manager/issues/8930)) - **DNS issuer secrets validated before ready**: prevents silent misconfiguration. ([#​8255](https://github.com/cert-manager/cert-manager/issues/8255)) ##### Community As always, we'd like to thank all of the community members who helped in this release cycle, including all below who merged a PR and anyone that helped by commenting on issues, testing, or getting involved in cert-manager meetings. We're lucky to have you involved. A special thanks to: - [@​Copilot](https://github.com/Copilot) - [@​FelixPhipps](https://github.com/FelixPhipps) - [@​Peac36](https://github.com/Peac36) - [@​SebTardif](https://github.com/SebTardif) - [@​apkatsikas](https://github.com/apkatsikas) - [@​bitloi](https://github.com/bitloi) - [@​dap0am](https://github.com/dap0am) - [@​figaw](https://github.com/figaw) - [@​immanuwell](https://github.com/immanuwell) - [@​jabbrwcky](https://github.com/jabbrwcky) - [@​jnohlgard](https://github.com/jnohlgard) - [@​jsoref](https://github.com/jsoref) - [@​ltwongaa](https://github.com/ltwongaa) - [@​lunarwhite](https://github.com/lunarwhite) - [@​mateenali66](https://github.com/mateenali66) - [@​onurmicoogullari](https://github.com/onurmicoogullari) - [@​putongyong](https://github.com/putongyong) - [@​seanorama](https://github.com/seanorama) - [@​texasich](https://github.com/texasich) for their contributions, comments and support! Also, thanks to the cert-manager maintainer team for their help in this release: - [@​SgtCoDFish](https://github.com/SgtCoDFish) - [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot) - [@​erikgb](https://github.com/erikgb) - [@​hjoshi123](https://github.com/hjoshi123) - [@​inteon](https://github.com/inteon) - [@​maelvls](https://github.com/maelvls) - [@​munnerz](https://github.com/munnerz) - [@​wallrj](https://github.com/wallrj) - [@​wallrj-cyberark](https://github.com/wallrj-cyberark) And finally, thanks to the cert-manager steering committee for their feedback in this release cycle: - [@​FlorianLiebhart](https://github.com/FlorianLiebhart) - [@​TrilokGeer](https://github.com/TrilokGeer) - [@​ianarsenault](https://github.com/ianarsenault) - [@​ssyno](https://github.com/ssyno) ##### Changes since v1.20.0 ##### Feature - Add Venafi OAuth token request observability and a new `AuthFailed` Issuer condition reason to distinguish bad credentials from transient infrastructure errors. ([#​8808](https://github.com/cert-manager/cert-manager/issues/8808), [@​FelixPhipps](https://github.com/FelixPhipps)) - Add `certificateRequestMaximumBackoffDuration` controller configuration option to cap retry backoff time for failed CertificateRequests. Configurable via config file, `--certificate-request-maximum-backoff-duration` CLI flag, or Helm value `config.certificateRequestMaximumBackoffDuration`. Defaults to 32 hours for backward compatibility. ([#​8893](https://github.com/cert-manager/cert-manager/issues/8893), [@​lunarwhite](https://github.com/lunarwhite)) - Add an optional `waitInsteadOfSelfCheck` field to ACME HTTP01 and DNS01 solvers so cert-manager can skip its own self-check and ask the ACME server to validate after a configured wait. ([#​8858](https://github.com/cert-manager/cert-manager/issues/8858), [@​wallrj](https://github.com/wallrj)) - Add configurable `runtimeClassName` support for cert-manager components and ACME HTTP01 solver pods. ([#​8791](https://github.com/cert-manager/cert-manager/issues/8791), [@​jsoref](https://github.com/jsoref)) - Add direct configurable `runtimeClassName` support for ACME HTTP01 solver pods via the `acmesolver.runtimeClassName` Helm value. ([#​8976](https://github.com/cert-manager/cert-manager/issues/8976), [@​erikgb](https://github.com/erikgb)) - Add new controller flag `--acme-http01-solver-extra-labels`, allowing Helm's `global.commonLabels` to propagate to all dynamically-created ACME HTTP01 solver resources (Pods, Services, Ingresses, or Gateway API HTTPRoutes). ([#​8761](https://github.com/cert-manager/cert-manager/issues/8761), [@​lunarwhite](https://github.com/lunarwhite)) - Add opt-in `startupapicheck.ttlSecondsAfterFinished` Helm value to enable automatic cleanup of the startupapicheck Job via the Kubernetes TTL-after-finished controller. ([#​8523](https://github.com/cert-manager/cert-manager/issues/8523), [@​dap0am](https://github.com/dap0am)) - Added ARI support through the ACMEUseARI feature gate. ([#​8798](https://github.com/cert-manager/cert-manager/issues/8798), [@​hjoshi123](https://github.com/hjoshi123)) - Added AWS IAM authentication support for Vault issuer, including IRSA (IAM Roles for Service Accounts) and ambient credentials (EC2/ECS). ([#​8422](https://github.com/cert-manager/cert-manager/issues/8422), [@​bitloi](https://github.com/bitloi)) - Added `cert-manager.io/ignore-tls-listeners` annotation for ignoring gwapi listeners. ([#​8727](https://github.com/cert-manager/cert-manager/issues/8727), [@​hjoshi123](https://github.com/hjoshi123)) - Added option to specify additional listener protocols the GatewayAPI integration will consider when creating certificates. ([#​8683](https://github.com/cert-manager/cert-manager/issues/8683), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Adds support for the Modern2026 go-pkcs12 profile and FIPS 140-3 ([#​8841](https://github.com/cert-manager/cert-manager/issues/8841), [@​seanorama](https://github.com/seanorama)) - Cainjector: A new flag `--ignore-namespaces` was added to the cainjector binary. It can be used to filter out namespaces from being watched for secrets to use for injectables. ([#​8614](https://github.com/cert-manager/cert-manager/issues/8614), [@​figaw](https://github.com/figaw)) - Disabled client side rate-limiting if AP\&F is enabled. ([#​8757](https://github.com/cert-manager/cert-manager/issues/8757), [@​hjoshi123](https://github.com/hjoshi123)) - Extend the Venafi/CyberArk integration to also support PANW NGTS. ([#​8779](https://github.com/cert-manager/cert-manager/issues/8779), [@​FelixPhipps](https://github.com/FelixPhipps)) - Adding certificate renewal policies ([#​8258](https://github.com/cert-manager/cert-manager/issues/8258), [@​hjoshi123](https://github.com/hjoshi123)) - Make cainjector use SSA unconditionally and deprecate the ServerSideApply feature gate ([#​8692](https://github.com/cert-manager/cert-manager/issues/8692), [@​erikgb](https://github.com/erikgb)) - Processed annotations `cert-manager.io/alt-names`, `cert-manager.io/ip-sans` to Certificates generated from ingress like objects in cert-shim controllers. ([#​8927](https://github.com/cert-manager/cert-manager/issues/8927), [@​jabbrwcky](https://github.com/jabbrwcky)) - Promote the CAInjectorMerging feature gate to GA ([#​8583](https://github.com/cert-manager/cert-manager/issues/8583), [@​Copilot](https://github.com/Copilot)) - When using ACME HTTP-01 with a ListenerSet, setting the annotation `acme.cert-manager.io/http01-parentreffallback: "true"` causes cert-manager to use the parent Gateway as the solver HTTPRoute parentRef instead of the ListenerSet. This enables TLS-only ListenerSets to rely on a shared Gateway HTTP listener for ACME challenges. ([#​8749](https://github.com/cert-manager/cert-manager/issues/8749), [@​apkatsikas](https://github.com/apkatsikas)) ##### Bug or Regression - **BREAKING**: The Helm chart no longer ships a default `Role` and `RoleBinding` granting the cert-manager controller ServiceAccount permission to create tokens for itself (`serviceaccounts/token: create`). This RBAC was added in v1.16 ([#​7213](https://github.com/cert-manager/cert-manager/issues/7213)) but no documented workflow requires it, and the motivating Route53 docs section was removed in Oct 2024. If you rely on `serviceAccountRef.name` pointing at the controller ServiceAccount (an undocumented pattern), you must now create your own `Role` and `RoleBinding` granting `serviceaccounts/token: create` on that ServiceAccount, or migrate to one of the documented patterns (IRSA ambient, or a dedicated ServiceAccount with its own RBAC). ([#​8931](https://github.com/cert-manager/cert-manager/issues/8931), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - ACME challenges no longer terminally fail on transient network errors (TLS handshake timeouts, DNS failures, context cancellation) during nonce fetches and authorization waits. The challenge controller returns the error and lets the workqueue retry with backoff. ([#​8760](https://github.com/cert-manager/cert-manager/issues/8760), [@​texasich](https://github.com/texasich)) - Add dns issuer secrets validation before marking it as ready ([#​8255](https://github.com/cert-manager/cert-manager/issues/8255), [@​Peac36](https://github.com/Peac36)) - Add missing issuer finalizer RBAC to the order controller to support owner references ([#​8654](https://github.com/cert-manager/cert-manager/issues/8654), [@​erikgb](https://github.com/erikgb)) - ClusterIssuer metrics collector now correctly respects the enabled-controllers configuration, avoiding a redundant startup when only operating within a namespace. ([#​8822](https://github.com/cert-manager/cert-manager/issues/8822), [@​lunarwhite](https://github.com/lunarwhite)) - Fix Venafi TPP issuer setup and signing regression on master: restore authentication of the vcert connector in the client constructor, which was removed in [#​8808](https://github.com/cert-manager/cert-manager/issues/8808). ([#​8843](https://github.com/cert-manager/cert-manager/issues/8843), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Fix a performance issue in the certificateRequestApproval webhook where CertificateRequests referencing a GroupKind whose CRD is not yet installed would trigger repeated API server discovery queries on every admission request. Negative results are now cached for 30 seconds. ([#​8651](https://github.com/cert-manager/cert-manager/issues/8651), [@​mateenali66](https://github.com/mateenali66)) - Fix webhook serving certificate not being renewed after system suspend. ([#​8464](https://github.com/cert-manager/cert-manager/issues/8464), [@​Peac36](https://github.com/Peac36)) - Fixed a rare panic in the trigger controller when a Certificate is deleted from the informer cache while a reconcile is in progress (e.g. during namespace teardown). ([#​8962](https://github.com/cert-manager/cert-manager/issues/8962), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed an integer overflow in `renewBeforePercentage` calculations that caused Certificates with durations longer than approximately 3 years to be incorrectly rejected by validation or assigned incorrect renewal times. ([#​8947](https://github.com/cert-manager/cert-manager/issues/8947), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Fixed duplicate `parentRef` bug when both issuer config and annotations are present. ([#​8619](https://github.com/cert-manager/cert-manager/issues/8619), [@​hjoshi123](https://github.com/hjoshi123)) - Fixed infinite re-issuance loop when issuer returns an already expired certificate ([#​8610](https://github.com/cert-manager/cert-manager/issues/8610), [@​onurmicoogullari](https://github.com/onurmicoogullari)) - Fixed local `e2e-setup-samplewebhook` installation to use the samplewebhook image repository and tag from the saved image tarball manifest. ([#​8821](https://github.com/cert-manager/cert-manager/issues/8821), [@​wallrj](https://github.com/wallrj)) - Fixed potential OOM in DNS-over-HTTPS client by bounding response body read with io.LimitReader (128 KB cap). ([#​8803](https://github.com/cert-manager/cert-manager/issues/8803), [@​SebTardif](https://github.com/SebTardif)) - Fixed validation of timezone-prefixed renewal window cron specs without a schedule. ([#​8813](https://github.com/cert-manager/cert-manager/issues/8813), [@​immanuwell](https://github.com/immanuwell)) - Helm chart bugfix: rename image helper to avoid umbrella chart conflicts ([#​8753](https://github.com/cert-manager/cert-manager/issues/8753), [@​FelixPhipps](https://github.com/FelixPhipps)) - Helm: Fix invalid YAML generated when both `webhook.config` and `webhook.volumes` are defined. ([#​8664](https://github.com/cert-manager/cert-manager/issues/8664), [@​jnohlgard](https://github.com/jnohlgard)) - Remove ACME Challenge `create` and Order `create`/`patch`/`update` from the cert-manager-edit aggregate ClusterRole to prevent direct manipulation of these internal resources (GHSA-8rvj-mm4h-c258). ([#​8958](https://github.com/cert-manager/cert-manager/issues/8958), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) - Remove issuer owner reference from challenges blocking challenge garbage collection ([#​8743](https://github.com/cert-manager/cert-manager/issues/8743), [@​erikgb](https://github.com/erikgb)) - Update logic to identify and preserve the secret matching nextPrivateKeySecretName ([#​8577](https://github.com/cert-manager/cert-manager/issues/8577), [@​putongyong](https://github.com/putongyong)) - Vault Issuer webhook validation now rejects `..` path segments in `spec.vault.path` and auth mount path fields, preventing `path.Join` from silently resolving relative segments before constructing the Vault API request. ([#​8930](https://github.com/cert-manager/cert-manager/issues/8930), [@​wallrj-cyberark](https://github.com/wallrj-cyberark)) ##### Other (Cleanup or Flake) - API cleanup: removed deprecated ObjectReference ([#​8625](https://github.com/cert-manager/cert-manager/issues/8625), [@​inteon](https://github.com/inteon)) - Remove Helm values `prometheus.servicemonitor.targetPort`, `prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`. The metrics path is always `/metrics` and the target port is always `http-metrics`. Rename the controller service metrics port from `tcp-prometheus-servicemonitor` to `http-metrics` for consistency with other workloads. Users must remove these keys from their value overrides before upgrading. ([#​8952](https://github.com/cert-manager/cert-manager/issues/8952), [@​erikgb](https://github.com/erikgb)) - The `enableGatewayAPI` and `enableGatewayAPIListenerSet` fields on `ControllerConfiguration` are deprecated and moved into the `gatewayAPI` sub-struct as `gatewayAPI.enabled` and `gatewayAPI.enableListenerSet`. The old fields continue to work. ([#​8732](https://github.com/cert-manager/cert-manager/issues/8732), [@​ThatsMrTalbot](https://github.com/ThatsMrTalbot)) - Update base images to Debian 13 ([#​8849](https://github.com/cert-manager/cert-manager/issues/8849), [@​ltwongaa](https://github.com/ltwongaa)) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTIuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI1Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://git.greyrock.io/greyrock-labs/home-ops/pulls/487
Pull Request Motivation
Adds AWS IAM authentication support for the Vault issuer, enabling cert-manager to authenticate with Vault using AWS credentials.
Supports two authentication flows:
Fixes #8352
Kind
/kind feature
Release Note