crixx commented on issue #12463:
URL: https://github.com/apache/apisix/issues/12463#issuecomment-3125786757

   hi @Baoyuantop , nice, that worked 🎉
   
   I followed: 
https://apisix.apache.org/blog/2021/10/22/cert-manager-in-ingress/ which is 
outdated but the only guidance I found. If you want me to, I could update this 
article (or write a quick guide on how to do it with let's encrypt too) -> PM 
me.. 
   
   So the correct definitions look like this:
   
   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixTls
   metadata:
     name: httpbin
     namespace: apisix
   spec:
     ingressClassName: apisix #<-- this here
     hosts:
     - app.domain.com
     secret:
       name: app-domain-cert
       namespace: default
   ---
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: httpbin
     namespace: apisix
   spec:
     ingressClassName: apisix #<-- this here
     http:
     - name: httpbin
       match:
         paths:
         - /*
         hosts:
         - app.domain.com
       backends:
       - serviceName: httpbin
         servicePort: 80
   ```
   
   


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to