<p>I am using Cert manager with letsencrypt via below yaml code. What am I doing wrong. When I use &quot;kubectl get issuer&quot;  it returns to me : &quot;No resources found in default namespace.&quot;</p>
<pre><code>apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
spec:
  acme:
    email: ykaratoprak@sphereinc.com
    server: https://acme-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt-prod
    solvers:
    - dns01:
        digitalocean:
          tokenSecretRef:
            name: digitalocean-dns
            key: 5XXXX31d821ba586302ff5d38647b701de750823711ff55b2a776c60d8eXXXXX
</code></pre>
<p><a href="https://i.stack.imgur.com/8ph5w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8ph5w.png" alt="enter image description here" /></a></p>
<p>But I can check certificates I realized that there are some certifications:</p>
<p><a href="https://i.stack.imgur.com/FMP0U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FMP0U.png" alt="enter image description here" /></a></p>

loki
<p>I think you are entering incorrect name of resource <code>kubectl get issuer</code> but rather you should run <code>kubectl get ClusterIssuer</code>.</p>
<p>Try it</p>
