Description
As a user, I want to allow external ips in allow_admin without adminKey in debug mode, so that users can request containered APISIX Admin API from the host for test.
To simplify the operating steps in the "Getting Started" document, we want to make empty adminKey.
However, the APISIX now does not allow the requests without adminKey to visit Admin API except 127.0.0.0/24,
https://github.com/apache/apisix/blob/master/apisix/cli/ops.lua#L191
so that users cannot visit containered APISIX Admin API from the host.
Such a strategy is made for safety, but we can support it in debug mode, so that users can try the APISIX easily with "Getting Started".
What I want to do is allow the external custom ips in allow_admin with empty admin_key in debug mode, like below:
deployment:
admin:
allow_admin:
- 0.0.0.0/0
admin_key:
# empty
Description
As a user, I want to allow external ips in
allow_adminwithout adminKey in debug mode, so that users can request containered APISIX Admin API from the host for test.To simplify the operating steps in the "Getting Started" document, we want to make empty adminKey.
However, the APISIX now does not allow the requests without adminKey to visit Admin API except
127.0.0.0/24,https://github.com/apache/apisix/blob/master/apisix/cli/ops.lua#L191
so that users cannot visit containered APISIX Admin API from the host.
Such a strategy is made for safety, but we can support it in debug mode, so that users can try the APISIX easily with "Getting Started".
What I want to do is allow the external custom ips in
allow_adminwith emptyadmin_keyin debug mode, like below: