Deleting Certificate

Deleting a Kubernetes Certificate object will only delete the certificate CRD from Kubernetes. It will not delete the obtained certificate and user account secret from Kubernetes. User have to manually delete these secrets for complete cleanup.

  • Delete Certificate crd.

    kubectl delete certificate.voyager.appscode.com test-cert
    
  • Delete Obtained Let’s Encrypt tls certificate

    kubectl delete secret tls-test-cert
    
  • Delete Let’s Encrypt user account Secret

    kubectl delete secret test-user-secret