You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/30 08:08:55 UTC

[GitHub] [apisix-ingress-controller] gxthrj commented on issue #592: proposal: Add IngressClass support for custom resources

gxthrj commented on issue #592:
URL: https://github.com/apache/apisix-ingress-controller/issues/592#issuecomment-889718431


   >First: Ingress Class has a default value ("apisix"). If you continue to use ingressClass, then only ApisixRoute containing "apisix" will be listened by default. And if you want to listen to all ApisixRoute CRD by default, it seems impossible to achieve? Or put IngressClass To an empty string?
   
   The `IngressClass` can use `ingressclass.kubernetes.io/is-default-class` to set the default IngressClass.
   
   >Second: Does ApisixRoute CRD need to add the Spec.IngressClass field? 
   
   Yes, we need to add a field `spec.IngressClass`.


-- 
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-unsubscribe@apisix.apache.org

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