bzp2010 edited a comment on issue #2057:
URL: 
https://github.com/apache/apisix-dashboard/issues/2057#issuecomment-897336015


   Hi, @suninuni. 
   OK, I already know the yaml file you use. Sorry, I don't have a k8s local 
environment, so I can't test directly.
   
   However, according to the principle of ingress controller, it will call the 
Admin API in APISIX to operate resources such as routes, and this API does 
perform schema validation.
   
[https://github.com/apache/apisix/blob/174044e60cfbad6f8aa023200f3be145f5249ed1/apisix/plugins/limit-count.lua#L127](https://github.com/apache/apisix/blob/174044e60cfbad6f8aa023200f3be145f5249ed1/apisix/plugins/limit-count.lua#L127)
   
   I also tested it on the local apisex environment and confirmed that when the 
key is not within the optional range, the API will return an error. The route 
record cannot be created normally at this time.
   
![image](https://user-images.githubusercontent.com/8078418/129137200-210b9327-b067-4e2a-b57d-1bf69d99117e.png)
   
   In the dashboard, you can't edit the plugin configuration by using forms or 
YAML.
   
![image](https://user-images.githubusercontent.com/8078418/129137735-bf24b5b7-138c-4d00-b2e8-402fb51b7c35.png)
   
![image](https://user-images.githubusercontent.com/8078418/129137738-b23f80ec-be3e-42a7-862a-ab627e957ea7.png)
   
   
   Therefore, I would like to know if you have done some other operations, such 
as directly operating ETCD, etc.


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