suninuni opened a new issue #672:
URL: https://github.com/apache/apisix-ingress-controller/issues/672
### Issue description
```shell
kubectl get apisixroute -n kube-system
Warning: apisix.apache.org/v1 ApisixRoute is deprecated
NAME HOSTS URIS TARGET SERVICE
INGRESS SERVER PORT TARGET SERVICE AGE
apisix-dashboard ["staging-apisix.quncrm.com"] ["/*"]
```
Is that mean the stored version is v1? But the stored version is v2beta1 in
crd.
```shell
kubectl get crd apisixroutes.apisix.apache.org -o
jsonpath='{.spec.versions[*].name }' -A
v1 v2alpha1 v2beta1%
kubectl get crd apisixroutes.apisix.apache.org -o
jsonpath='{.spec.versions[*].storage }' -A
false false true%
```
How can I eliminated this warning and show v2beta1 when edit by kubectl?
### Environment
* your apisix-ingress-controller version (output of
`apisix-ingress-controller version --long`); 1.2.0
* your Kubernetes cluster version (output of `kubectl version`); 1.21.0
--
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]