Challenge not removed on no matching GoogleCloud domain is found
Author: rolandkoolCreated Oct 1, 2026Updated Oct 1, 2026
Labelskind/bug
Describe the bug:
If a certificate fails to provision due to the following error on the challenge resource:
Error presenting challenge: No matching GoogleCloud domain found for domain example.com
Removing the certificate will orphan the challenge resource because it can't be cleaned up due to this error:
Error cleaning up challenge: No matching GoogleCloud domain found for domain example.com
Expected behaviour:
I'd expect the challenge resource to be properly removed.
Steps to reproduce the bug: Create a certificate that references a Google cloud zone that doesn't exist or can't read.
Anything else we need to know?:
Environment details:
- Kubernetes version: 1.35
- Cloud-provider/provisioner: GCP
- cert-manager version: 1.21.2
- Install method: helm
/kind bug
Source: cert-manager/cert-manager