bahtou commented on issue #338:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/338#issuecomment-823329241


   @tokers 
   Following the documentation here: 
https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/deployments/minikube.md#install-apisix
   
   ```
   helm install apisix-ingress-controller apisix/apisix-ingress-controller \
     --set image.tag=0.5.0 \
     --set config.apisix.baseURL=http://apisix-admin:9180/apisix/admin \
     --set config.apisix.adminKey=edd1c9f034335f136f87ad84b625c8f1 \
     --namespace ingress-apisix
   ```
   `error: unable to recognize "httpbin-route.yaml": no matches for kind 
"ApisixRoute" in version "apisix.apache.org/v2alpha1"`
   
   yaml file
   ```
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
     name: httpserver-route
   spec:
     http:
     - name: rule1
       match:
         hosts:
         - local.httpbin.org
         paths:
         - /*
         backend:
         - serviceName: httpbin
           servicePort: 80
   ```
   
   I also installed the crds via the `samples/deploy/crd/v1beta1` but then get 
this error:
   ```The ApisixRoute "httpserver-route" is invalid:
   * <nil>: Invalid value: "": "spec.http" must validate one and only one 
schema (oneOf). Found none valid
   * spec.http.backend: Required value``` 


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

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


Reply via email to