Open sevensolutions opened 11 months ago
It would be a cool idea to allow to define some REST-API calls which can then be invoked by a signal. Something like:
signal { name = "SIGUSR1" path = "/api/signals/sigusr1" method = "GET" headers = { X-Api-Key = "Some API Key" } }
May be usefull to execute some management tasks. The API may listen to localhost only.
https://github.com/hashicorp/nomad/pull/18794 will also introduce job actions.
It would be a cool idea to allow to define some REST-API calls which can then be invoked by a signal. Something like:
May be usefull to execute some management tasks. The API may listen to localhost only.