You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/05 07:00:54 UTC
[GitHub] [apisix-ingress-controller] tokers commented on issue #338: bug: minikube setup
tokers commented on issue #338:
URL: https://github.com/apache/apisix-ingress-controller/issues/338#issuecomment-813232158
Basically, the `403` forbidden is returned due to the remote address is not in the allow list. As per your description, you try to access the Admin API from localhost but you just allow IPs from `10.244.0.0/16`.
As for the `httpbin-route`, actually it still uses the ApisixRoute/v1 while we recommend to use ApisixRoute/v2alpha1, the corresponding version of `httpbin-route` in v2alpha1 is just below:
```yaml
# httpbin-route.yaml
apiVersion: apisix.apache.org/v2alpha1
kind: ApisixRoute
metadata:
name: httpserver-route
spec:
http:
- name: rule1
match:
hosts:
- local.httpbin.org
paths:
- /*
backends:
- serviceName: httpbin
servicePort: 80
```
--
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:
users@infra.apache.org