Recent versions support this feature:
--web.config="" [EXPERIMENTAL] Path to config yaml file that
can enable TLS or authentication.
While it's possible to use this role to configure that option, the value for it is a path, which also needs to be there.
It can be added manually, but that has to happen earlier. And if you want that config to be in the prometheus directory, you'd have to duplicate the directory creation logic.
I guess an optional task could be added to allow templating this file.
Recent versions support this feature:
While it's possible to use this role to configure that option, the value for it is a path, which also needs to be there.
It can be added manually, but that has to happen earlier. And if you want that config to be in the prometheus directory, you'd have to duplicate the directory creation logic.
I guess an optional task could be added to allow templating this file.