shreemaan-abhishek commented on issue #13338:
URL: https://github.com/apache/apisix/issues/13338#issuecomment-4437928278

   Hi, thanks for the request — confirming this is a real gap.
   
   Today the `-c/--config` flag only overrides `config.yaml` (see the argparse 
block in `start()` in `apisix/cli/ops.lua` and `customized_yaml_path()` in 
`apisix/core/profile.lua`). The `apisix.yaml` location is hard-coded to 
`apisix_home/conf/apisix.yaml` in `profile.lua`'s `yaml_path()` and is consumed 
directly by `apisix/core/config_yaml.lua` and `apisix/cli/file.lua` with no 
override hook. So your request is valid, and #11393 ran into the same pain 
point earlier.
   
   We would welcome a PR that fixes this.


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