fhuzero opened a new pull request #546:
URL: https://github.com/apache/apisix-ingress-controller/pull/546


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [x] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   - Related issues
   
   ___
   ### Bugfix
   - Description
   When follwoing 
[proxy-the-httpbin-service](https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/practices/proxy-the-httpbin-service.md#resource-delivery)
 example, one gets follwoing error after using `kubectl apply -f 
httpbin-route.yaml`:
   ```
   The ApisixRoute "httpserver-route" is invalid: 
   * <nil>: Invalid value: "": "spec" must validate at least one schema (anyOf)
   * spec.http: Required value.`
   ```
   
   
   - How to fix?
   * Update `apiVersion` of ApisixRoute CRD from `v1` to `v2alpha1` to keep it 
up to date.
   * Change fields in `spec` to conform the `v2alpha1` schema


-- 
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:
[email protected]


Reply via email to