Open
Description
What broke? What's expected?
Running e2e tests leaves cert-manager related resources behind, causing failures in subsequent runs.
Namely, the resources leases.coordination.k8s.io/cert-manager-cainjector-leader-election
and leases.coordination.k8s.io/cert-manager-controller
in the kube-system
namespace.
Reproducing this issue
Run make test-e2e
then kubectl get -n kube-system leases.coordination.k8s.io
KubeBuilder (CLI) Version
Version: cmd.version{KubeBuilderVersion:"4.5.2", KubernetesVendor:"1.32.1", GitCommit:"7c707052daa2e8bd51f47548c02710b1f1f7a77e", BuildDate:"2025-03-26T19:24:40Z", GoOs:"darwin", GoArch:"arm64"}
PROJECT version
3
Plugin versions
layout:
- go.kubebuilder.io/v4
Other versions
Kubectl:
Client Version: v1.32.3
Kustomize Version: v5.5.0
Server Version: v1.32.2
Go 1.23.0
sigs.k8s.io/controller-runtime v0.20.0
Extra Labels
No response