Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MINOR: prevents unconditional reloads when prometheus is enabled
When the --prometheus flag is passed, the Prometheus backend check always fails if the controller namespace isn't haproxy-controller. Consequently, all events received by the controller trigger a reload of HAProxy. Since the backend name depends on the namespace, it shouldn't be hardcoded.
- Loading branch information