Repository navigation
ACME: add waitInsteadOfSelfCheck per solver - #8858
cert-manager-prow[bot] merged 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a per-solver waitInsteadOfSelfCheck option for ACME challenges, allowing cert-manager to bypass its own propagation self-check and instead wait a configured duration after first successful presentation before asking the ACME server to validate. It also adds status.presentedAt to Challenges to anchor the wait window.
Changes:
- Add
waitInsteadOfSelfCheckto the ACME solver API (Issuer/ClusterIssuer/Challenge solver config), including generated apply configs, OpenAPI, and CRDs. - Record
status.presentedAtwhen challenge presentation first succeeds and plumb it through SSA status updates. - Refactor readiness decision-making into a dedicated evaluator with unit + e2e coverage updates.
Reviewed changes
Copilot reviewed 18 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test/unit/gen/challenge.go | Add unit-test helpers for presentedAt and waitInsteadOfSelfCheck. |
| test/e2e/suite/issuers/acme/certificate/webhook.go | Extend e2e assertions to require status.presentedAt when presented. |
| pkg/controller/acmechallenges/update.go | Include presentedAt in SSA status apply when set. |
| pkg/controller/acmechallenges/sync.go | Record/backfill presentedAt; use readiness evaluator to decide accept/retry. |
| pkg/controller/acmechallenges/sync_test.go | Add/adjust controller sync tests for wait-based bypass and presentedAt. |
| pkg/controller/acmechallenges/readiness.go | New readiness evaluator (strict self-check vs wait-based bypass). |
| pkg/controller/acmechallenges/readiness_test.go | Unit tests for readiness evaluator behavior. |
| pkg/controller/acmechallenges/controller.go | Inject controller clock from shared controller context. |
| pkg/client/applyconfigurations/internal/internal.go | Update applyconfiguration schema for new fields. |
| pkg/client/applyconfigurations/acme/v1/challengestatus.go | Add PresentedAt to ChallengeStatus applyconfiguration. |
| pkg/client/applyconfigurations/acme/v1/acmechallengesolver.go | Add WaitInsteadOfSelfCheck to solver applyconfiguration. |
| pkg/apis/acme/v1/zz_generated.deepcopy.go | Regenerate deep-copies for new solver/status fields. |
| pkg/apis/acme/v1/types_issuer.go | Add waitInsteadOfSelfCheck to public ACME solver API type. |
| pkg/apis/acme/v1/types_challenge.go | Add status.presentedAt and clarify presented semantics. |
| internal/generated/openapi/zz_generated.openapi.go | Regenerate OpenAPI for new fields. |
| internal/apis/acme/zz_generated.deepcopy.go | Regenerate internal deep-copies for new fields. |
| internal/apis/acme/v1/zz_generated.conversion.go | Regenerate internal<->v1 conversions for new fields. |
| internal/apis/acme/types_issuer.go | Add waitInsteadOfSelfCheck to internal ACME solver type. |
| internal/apis/acme/types_challenge.go | Add presentedAt to internal ChallengeStatus type. |
| deploy/crds/cert-manager.io_issuers.yaml | Add CRD schema/docs for waitInsteadOfSelfCheck. |
| deploy/crds/cert-manager.io_clusterissuers.yaml | Add CRD schema/docs for waitInsteadOfSelfCheck. |
| deploy/crds/acme.cert-manager.io_challenges.yaml | Add CRD schema/docs for waitInsteadOfSelfCheck and presentedAt. |
| deploy/charts/cert-manager/templates/crd-cert-manager.io_issuers.yaml | Helm CRD template update for waitInsteadOfSelfCheck. |
| deploy/charts/cert-manager/templates/crd-cert-manager.io_clusterissuers.yaml | Helm CRD template update for waitInsteadOfSelfCheck. |
| deploy/charts/cert-manager/templates/crd-acme.cert-manager.io_challenges.yaml | Helm CRD template update for waitInsteadOfSelfCheck and presentedAt. |
Files not reviewed (6)
- internal/apis/acme/v1/zz_generated.conversion.go: Generated file
- internal/apis/acme/zz_generated.deepcopy.go: Generated file
- pkg/apis/acme/v1/zz_generated.deepcopy.go: Generated file
- pkg/client/applyconfigurations/acme/v1/acmechallengesolver.go: Generated file
- pkg/client/applyconfigurations/acme/v1/challengestatus.go: Generated file
- pkg/client/applyconfigurations/internal/internal.go: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
wallrj-cyberark
left a comment
There was a problem hiding this comment.
This PR supersedes #8794 and correctly reframes the feature as an explicit self-check bypass (rather than the original hybrid self-check-plus-delay fallback). The challengeReadinessEvaluator interface cleanly separates the two code paths, and the tests cover the essential scenarios: default self-check, in-window wait, post-window acceptance, and the upgrade backfill. I ran go test ./pkg/controller/acmechallenges/... against this branch — all pass.
On Copilot's finding at sync.go:197 (backfill only when WaitInsteadOfSelfCheck is configured)
Not a bug. PresentedAt is consumed exclusively by waitInsteadOfSelfCheckReadinessEvaluator, so backfilling it for challenges that use the standard self-check path would be unnecessary overhead. For all newly presented challenges, PresentedAt is recorded unconditionally (lines 185–186), which is correct: if a user adds waitInsteadOfSelfCheck to an already-running challenge the backfill kicks in to give the wait something to anchor against.
Two points raised in the inline comments below:
sync.go:116— the nil-clear ofPresentedAtdiverges across the SSA and legacyUpdateStatuspaths in an upgrade edge case; not clearing it at all (since finished challenges are deleted immediately) would be cleaner.types_issuer.go:191— zero or negative duration bypasses the self-check with no wait; the current docs do not make this explicit.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 25 changed files in this pull request and generated 1 comment.
Files not reviewed (6)
- internal/apis/acme/v1/zz_generated.conversion.go: Generated file
- internal/apis/acme/zz_generated.deepcopy.go: Generated file
- pkg/apis/acme/v1/zz_generated.deepcopy.go: Generated file
- pkg/client/applyconfigurations/acme/v1/acmechallengesolver.go: Generated file
- pkg/client/applyconfigurations/acme/v1/challengestatus.go: Generated file
- pkg/client/applyconfigurations/internal/internal.go: Generated file
2ca3ea4 to
9337feb
Compare
|
/retest The
Neither exercises |
- Explain that a value of 0 skips the self-check and asks the ACME server to validate immediately, relying on the server's own validation retries (RFC 8555 section 8.2). - Note that negative durations are rejected by the validating webhook. Aligns the docs with the final API behaviour in cert-manager/cert-manager#8858. Signed-off-by: Richard Wall <[email protected]> Signed-off-by: Richard Wall <[email protected]> Co-authored-by: Claude <[email protected]>
| // Backfill PresentedAt for already-presented challenges when wait-based | ||
| // self-check bypass is configured. This covers upgrade or pre-existing- | ||
| // object cases where Presented was recorded before the controller started | ||
| // writing PresentedAt. |
There was a problem hiding this comment.
unnecessary-nit: the wording "self-check bypass" kind of tripped me, the field name itself is already self-explanatory, so I'd use the term "WaitInsteadOfSelfCheck" instead. But it's just me.
There was a problem hiding this comment.
Agreed — updated the comment to use WaitInsteadOfSelfCheck instead of "self-check bypass".
| @@ -113,6 +114,11 @@ func (c *controller) Sync(ctx context.Context, chOriginal *cmacme.Challenge) (er | |||
|
|
|||
| ch.Status.Presented = false | |||
There was a problem hiding this comment.
Q: why do we set
kind: Challenge
status:
presented: falsewhen the challenge is finished? Challenges are a one-off resource AFAIK, which means one Challenge resource = one presentation... so if it's already presented, why set presented back to false? It's been presented already, so it makes sense to keep it true.
(This is an existing behavior, so we should keep it as-is; I'm just trying to understand how we came to this)
There was a problem hiding this comment.
It was introduced in #1116 (dd8f987, Nov 2018) as part of the finalizer-based cleanup logic: after solver.CleanUp() removes the solver resources, Presented = false reflects that the challenge is no longer literally presented. Reasonable, even though challenges are garbage-collected immediately after.
| // PresentedAt is intentionally left untouched. It records when the | ||
| // solver resources were first presented, which remains accurate for a |
There was a problem hiding this comment.
Q: If presentedAt means "first presented at", it should be renamed to firstPresentedAt?
I'm still a little confused as to why we set presented from true to false. There shouldn't be any notion of history since the Challenge object can be modeled as an "irreversible" finite state machine:
presented=false -----(present)------> presented=true
presentedAt=nil presentedAt="2026-06-16T10:30:17Z"
But since it's possible to go back to presented=false, does it mean that the challenge is about to be re-presented? What's the meaning of presentedAt in that case?
Conclusion:
Since we can't change the behavior of presentedAt, and since we know that a Challenge is a one-off object, I'm OK with keeping presentedAt as-is and not renaming it firstPresentedAt.
There was a problem hiding this comment.
Agreed — presentedAt is fine. A challenge is a one-off object, so there is no meaningful distinction between "presented at" and "first presented at".
|
I'm not familiar with the SSA implications. But I assume that you have looked at all SSA implications (as per the in-code comments), so it should be good. /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maelvls 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 |
| // object cases where Presented was recorded before the controller started | ||
| // writing PresentedAt. | ||
| if ch.Status.Presented && ch.Status.PresentedAt == nil && ch.Spec.Solver.WaitInsteadOfSelfCheck != nil { | ||
| now := metav1.NewTime(c.clock.Now()) |
There was a problem hiding this comment.
note: while upgrading, an existing Challenge that was still presenting (presented=true) will have its presentedAt set to a value that doesn't actually match the time it was presented at. But it's a corner case not worth improving IMO as it won't have any consequence.
There was a problem hiding this comment.
Agreed — the backfilled timestamp will be slightly late, but it only affects the wait deadline for that single in-flight challenge during the upgrade window. Harmless.
|
The SSA implications are covered in the self-review threads — the main finding was that clearing Short version: |
Add an optional waitInsteadOfSelfCheck duration to ACME HTTP01 and DNS01 solvers. When set, cert-manager skips its own propagation self-check and instead waits the configured duration after first presentation (recorded in status.presentedAt) before asking the ACME server to validate. - A value of 0 skips the self-check and asks the ACME server to validate immediately, relying on the server's own validation retries (RFC 8555 section 8.2); negative durations are rejected by the webhook. - status.presentedAt is retained on completion so the server-side-apply and legacy status-update paths stay consistent. Fixes cert-manager#1292 Signed-off-by: Richard Wall <[email protected]> Co-authored-by: Richard Wall <[email protected]> Co-authored-by: Claude <[email protected]> Signed-off-by: Richard Wall <[email protected]>
9337feb to
969de20
Compare
|
/unhold |
|
/lgtm |
- Explain that a value of 0 skips the self-check and asks the ACME server to validate immediately, relying on the server's own validation retries (RFC 8555 section 8.2). - Note that negative durations are rejected by the validating webhook. Aligns the docs with the final API behaviour in cert-manager/cert-manager#8858. Signed-off-by: Richard Wall <[email protected]> Signed-off-by: Richard Wall <[email protected]> Co-authored-by: Claude <[email protected]> Signed-off-by: Richard Wall <[email protected]>
- Explain that a value of 0 skips the self-check and asks the ACME server to validate immediately, relying on the server's own validation retries (RFC 8555 section 8.2). - Note that negative durations are rejected by the validating webhook. Aligns the docs with the final API behaviour in cert-manager/cert-manager#8858. Signed-off-by: Richard Wall <[email protected]> Signed-off-by: Richard Wall <[email protected]> Co-authored-by: Claude <[email protected]> Signed-off-by: Richard Wall <[email protected]>
- Explain that a value of 0 skips the self-check and asks the ACME server to validate immediately, relying on the server's own validation retries (RFC 8555 section 8.2). - Note that negative durations are rejected by the validating webhook. Aligns the docs with the final API behaviour in cert-manager/cert-manager#8858. Signed-off-by: Richard Wall <[email protected]> Signed-off-by: Richard Wall <[email protected]> Co-authored-by: Claude <[email protected]> Signed-off-by: Richard Wall <[email protected]>
Add documentation for the waitInsteadOfSelfCheck solver option for ACME HTTP01 and DNS01 challenges, introduced in cert-manager v1.21. - ACME configuration page: new section explaining the feature, when to use it, behaviour with zero and negative durations, and an example Issuer/ClusterIssuer configuration - Troubleshooting page: new section linking waitInsteadOfSelfCheck as a workaround for environments where the self-check cannot succeed - Release notes: major theme entry and changelog feature entry - .spelling: add waitInsteadOfSelfCheck Part of cert-manager/cert-manager#1292. Cross-reference: cert-manager/cert-manager#8858. Signed-off-by: Richard Wall <[email protected]> Signed-off-by: Richard Wall <[email protected]>
|
This change has been included in v1.21.0-beta.0, which is now published. If you have a split-horizon DNS or NAT hairpin environment where cert-manager's self-check cannot reach the same endpoint as the ACME server, we would be grateful if you could test the new |
…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
##### [\`v1.21.0\`](https://github.com/cert-manager/cert-manager/releases/tag/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](cert-manager/cert-manager#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](cert-manager/cert-manager#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`](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))
Pull Request Motivation
Fixes #1292.
This PR supersedes #8794 after review feedback that the feature should model an explicit self-check bypass rather than a hybrid self-check-plus-delay fallback.
It adds a per-solver
waitInsteadOfSelfCheckescape hatch for ACME challenges:status.presentedAtwhen presentation first succeeds;waitInsteadOfSelfCheckis set, cert-manager skips its own self-check;status.presentedAt; andThe intention is to help in environments where cert-manager's self-check cannot succeed from cert-manager's own network or DNS viewpoint even though the ACME server can still validate successfully, for example split-horizon DNS, NAT loopback limitations, or public/private ingress asymmetry.
A value of
0is permitted and means "skip the self-check and ask the ACME server to validate immediately after presentation", relying on the ACME server's own validation retries (RFC 8555 §8.2) to succeed once the challenge has propagated. Negative durations are rejected by the validating webhook.Draft documentation for this feature is available in cert-manager/website#2101.
Prior art in other ACME clients
To sanity-check the design, we surveyed how other ACME clients bridge the gap between presenting a challenge and asking the CA to validate it. The pattern this PR adds — skip the local self-check and instead wait a fixed duration before asking the server to validate — is well established, and notably already exists almost verbatim in lego:
--dns.propagation-disable-ansdisables the check;--dns.propagation-wait <duration>"disables all the propagation checks of the TXT record and uses a wait duration instead" — a direct analogue ofwaitInsteadOfSelfCheck. HTTP-01/TLS-ALPN-01 have no self-check, only an optional--http.delay/--tls.delay.--dns-<provider>-propagation-secondsthen validate0is accepted. The maintainers deliberately rejected a local DNS check, with the in-code rationale that "checking to see if the update has occurred is not reliable (the machine this code is running on might be able to see an update before the ACME server)" — precisely the vantage-point problem this feature targets.propagation_timeout -1disables the check outright.--dnssleep <seconds>switches to a plain fixed sleep.-DnsSleep(default 120s), no active checkConclusions that shaped this PR:
--dns.propagation-waitis direct prior art for "wait instead of self-check", including its semantics of replacing (not supplementing) the check.propagation-seconds 0) and Caddy (propagation_timeout -1) both allow "don't check / don't wait", which is whywaitInsteadOfSelfCheck: 0is accepted and only negative durations are rejected.Kind
/kind feature
Release Note