riverwoo commented on issue #1912:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1912#issuecomment-1661415983

   Now use APISIX v3.4.1, modify it to "admin_api_version": "v3", report an 
error “no matches for kind "ApisixRoute" in version "apisix.apache.org/v3"
   ```
   [root@k8s-dev-master yunwei]# cat httpbin-ar.yaml 
   apiVersion: apisix.apache.org/v3
   kind: ApisixRoute
   metadata:
     name: httpserver-route
     namespace: demo
   spec:
     http:
     - name: httpbin
       match:
         hosts:
         - local.httpbin.org
         paths:
         - /*
       backends:
         - serviceName: httpbin
           servicePort: 80
   ```
   ```
   [root@k8s-dev-master yunwei]# kubectl apply -f httpbin-ar.yaml 
   error: resource mapping not found for name: "httpserver-route" namespace: 
"demo" from "httpbin-ar.yaml": no matches for kind "ApisixRoute" in version 
"apisix.apache.org/v3"
   ensure CRDs are installed first
   ```


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