tao12345666333 opened a new issue #692:
URL: https://github.com/apache/apisix-ingress-controller/issues/692


   ### Issue description
   
   In the current ApisixRoute CRD definition, there are both `spec.backend` and 
`spec.backends`
   
   
https://github.com/apache/apisix-ingress-controller/blob/957c31522e1b1e5f8ef9cab7eb244473a4e0f675/samples/deploy/crd/v1beta1/ApisixRoute.yaml#L173-L217
   
   And `spec.backends` can completely cover the usage scenarios of 
`spec.backend`.  Currently maintaining these two fields at the same time has 
caused a certain burden on us.
   For example, when the resource cannot be obtained directly through kubectl, 
the corresponding information can be displayed. For details, please see 
https://github.com/apache/apisix-ingress-controller/pull/626#discussion_r686714645
   
   **I suggest that we upgrade ApisixRoute to v2beta2 version as soon as 
possible, and deprecate `spec.backend` in this version.**


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