apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

bug: plugin config overwrite?

Open jzhao20230918 opened this issue 1 year ago • 0 comments

Current Behavior

If "plugins" field is added in the config file, then any plugin needs enabled in the filed to make it works even it is setup in the dashboard.

if "plugins" field is included in the config file, everything works fine.

Expected Behavior

plugins works via dashborad even it is not enabled in the "plugins" field

Error Logs

No response

Steps to Reproduce

  1. enable any plugin in the config.yaml. e.g. plugins:
  • skywalking
  1. restart apisix

  2. then any plugin configured via dashboard would not take effect unless the plugin is enabled in the config file as well.

  3. delete the "plugins" fields in the config file and restart apisix, then plugin set through dashborad would work

Environment

  • APISIX version (run apisix version): 3.6
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant: latest
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

jzhao20230918 avatar Nov 16 '23 02:11 jzhao20230918