title: Kubernetes Let's Encrypt Certificate Not Issuing
body: <p>I've done all required configurations as below to get certificate from letsencrypt in kubernetes, however I cannot see any certificate issued.</p>
  
  <ul>
  <li>Nginx-ingress install using helm</li>
  </ul>
  
  <p><code>helm install my-nginx-ingress stable/nginx-ingress --set controller.publishService.enabled=true</code></p>
  
  <ul>
  <li>Cert-manager installation</li>
  </ul>
  
  <pre><code>kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.11/deploy/manifests/00-crds.yaml
  kubectl create namespace cert-manager
  helm repo add jetstack https://charts.jetstack.io
  helm install my-cert-manager --namespace spinnaker jetstack/cert-manager --set ingressShim.defaultIssuerName=letsencrypt-prod --set ingressShim.defaultIssuerKind=ClusterIssuer
  </code></pre>
  
  <ul>
  <li>ClusterIssuer</li>
  </ul>
  
  <pre><code>apiVersion: cert-manager.io/v1alpha2
  kind: ClusterIssuer
  metadata:
    name: letsencrypt-prod
  spec:
    acme:
      email: test@test.test
      server: https://acme-v02.api.letsencrypt.org/directory
      privateKeySecretRef:
        name: letsencrypt-prod
      solvers:
      - http01:
          ingress:
            class: nginx
  </code></pre>
  
  <ul>
  <li>Ingress</li>
  </ul>
  
  <pre><code>apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    name: spinnaker-ingress
    namespace: spinnaker
    annotations:
      kubernetes.io/ingress.class: nginx
      certmanager.k8s.io/cluster-issuer: letsencrypt-prod
  spec:
    tls:
    - hosts:
      - SpinnakerApiDomain
      - SpinnakerDeckDomain
      secretName: spinnaker
    rules:
    - host: SpinnakerApiDomain
      http:
        paths:
        - backend:
            serviceName: spin-gate
            servicePort: 8084
    - host: SpinnakerDeckDomain
      http:
        paths:
        - backend:
            serviceName: spin-deck
            servicePort: 9000
  </code></pre>
  
  <p>I'm following these document:</p>
  
  <p><a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-on-digitalocean-kubernetes-using-helm" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-on-digitalocean-kubernetes-using-helm</a></p>
  
  <p><a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-cd-pipeline-with-spinnaker-on-digitalocean-kubernetes" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-set-up-a-cd-pipeline-with-spinnaker-on-digitalocean-kubernetes</a></p>
  
  <p>I've gone through other URLs as well which has same steps but when I do <code>kubectl get certificates --all-namespaces</code> I cannot see any certificate issued.</p>
  
  <p>Basically I'm configuring Spinnaker behind HTTPS.</p>
  
  <p>Please advise. Thanks.</p>