Allow to add Basic Authentication on HAProxy endpoint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Wishlist
|
Cédric Jeanneret deactivated |
Bug Description
Dear Stackers,
In order to use haproxy as TLS endpoint and proxy for some metrics service we use (prometheus), we'd like to be able to get a Basic Authentication on some frontend (tripleo:
In order to do so, the following thing must be done:
- add support for the "userlist" directive, with the following syntax:
userlist prometheus
group prometheus
user prometheus insecure-password FooClearPasswordBar groups prometheus
- add support for a new directive in the "frontend" block for the wanted "endpoint":
acl valid_user http_auth(
So, I guess something like this might be done:
- wrapper tripleo:
- modify the tripleo:
I think I can do that on my own, I just want to ensure the proposal is valid for you.
Cheers,
C.
Changed in tripleo: | |
milestone: | none → queens-3 |
importance: | Undecided → Wishlist |
status: | New → Triaged |
This sounds reasonable to me.