philipsens commented on issue #11845:
URL: https://github.com/apache/apisix/issues/11845#issuecomment-3841320485

   > How do I use ACME (cert-manager) in standalone apisix mode in Kubernetes? 
I typically use apisix-ingress-controller (ApisixRoute) to specify routes. How 
do I use annotations like cert-manager.io/cluster-issuer: letsencrypt to 
automatically renew certificates?
   
   Same as for NGINX:
   ```yaml
   apiVersion: cert-manager.io/v1
   kind: ClusterIssuer
   metadata:
     name: lets-encrypt-apisix
     namespace: cert-manager
   spec:
     acme:
       # Replace the email address with your own contact email
       email: 
       # The server is replaced in overlays
       server: https://acme-staging-v02.api.letsencrypt.org/directory
       privateKeySecretRef:
         name: lets-encrypt-apisix
       solvers:
         - http01:
             ingress:
               ingressClassName: apisix
   ```
   
   Annotation would be `cert-manager.io/cluster-issuer: lets-encrypt-apisix` 
for this config.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to