Skip to content

Commit 0b2370f

Browse files
committed
Bump the test cert-manager to v1.21.3
cert-manager v1.20 can store two private keys for one new Certificate when its cache lags behind. It then checks the request against the wrong key, fails it with "CSR not signed by referenced private key", and waits 1 hour before it tries again (cert-manager/cert-manager#6331). The e2e setup waits about 5 minutes for trust-manager, so the job fails with "Failed to install trust manager". This failed #4807, #4808, #4820 and #4828 between 2026-10-20 and 2026-10-27. Since v1.21.0 the keymanager reads the Certificate and its key Secret from the API server before it creates a key, so it does not make a second one. v1.21 also removes the cert-manager-tokenrequest Role and RoleBinding and renames the metrics Service port to http-metrics. The tests use neither.
1 parent 65c262d commit 0b2370f

2 files changed

Lines changed: 491 additions & 167 deletions

File tree

‎hack/update-codegen.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ cert_manager_installer="${REPO_ROOT_DIR}/vendor/knative.dev/eventing/hack/update
9494
# shellcheck source=/dev/null
9595
source <(grep -v '^update_cert_manager ' "${cert_manager_installer}")
9696

97-
update_cert_manager "v1.20.3" "v0.24.0"
97+
update_cert_manager "v1.21.3" "v0.24.0"

0 commit comments

Comments
 (0)