k8wiz
cert-manager
Hard
Troubleshooting

A ClusterIssuer for DNS-01 references a Secret holding DNS provider credentials. In which namespace does cert-manager look for that Secret?

Select your answer:

Show answer and explanation

Answer: The cluster resource namespace, cert-manager's own by default

Explanation

ClusterIssuers are cluster-scoped but Secrets aren't, so cert-manager reads ClusterIssuer Secrets from the namespace set by its --cluster-resource-namespace flag. That defaults to cert-manager's own namespace. Putting the Secret next to the Certificate is a common mistake, and the issuer then reports that it can't find the Secret.