Changing Express gateway config in runtime

148 Views Asked by At

I want to know if we can change the remote express gateway config from some other service(Might or might not be behind the gateway). Is there an API exposed for admins, to enable changing config without having to change the docker image of eg?

Our use case is we have an infrastructure based on tenants and want to change the config in run time without having container restarts or image changes. The documentation says config changes will be a hot reloaded.

If the above is not possible can you suggest what is the best alternative to change files in a remote docker container from other service.

Thanks in advance.

1

There are 1 best solutions below

0
On BEST ANSWER

Yes, the Express Gateway Admin API has endpoints to add, remove, list, or change the following entities:

I have not used them, but the documentation suggests that they update the gateway.config.yaml configuration file.