gxthrj commented on a change in pull request #593:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/593#discussion_r699879217



##########
File path: pkg/kube/apisix/apis/config/v1/types.go
##########
@@ -39,7 +39,8 @@ type ApisixRoute struct {
 
 // ApisixRouteSpec is the spec definition for ApisixRouteSpec.
 type ApisixRouteSpec struct {
-       Rules []Rule `json:"rules,omitempty" yaml:"rules,omitempty"`
+       IngressClass string `json:"ingressClass,omitempty" 
yaml:"ingressClass,omitempty"`

Review comment:
       use `IngressClassName` instead of `ingressClass`
   ref to: 
https://kubernetes.io/zh/docs/concepts/services-networking/ingress/#deprecated-annotation




-- 
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