-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add the ability to specify the basic auth user #187
Conversation
3390492
to
19fd3f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution! The code LGTM, could you please address my comments so that we can merge this?
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Thanks for reviewing that fast! :) |
Thank you @kubicgruenfeld ! Lastly, can you please create a changelog entry under https://github.com/grafana/cortex-tools/blob/main/CHANGELOG.md#unreleasedmaster? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your contribution.
) * add the ability to specify the basic auth user * also add user to alertmanager command * Update README.md Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/alerting/runner.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/alerts.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/alerts.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/alerts.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/rules.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/rules.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * Update pkg/commands/alerts.go Co-authored-by: gotjosh <josue.abreu@gmail.com> * add changelog entry Co-authored-by: gotjosh <josue.abreu@gmail.com>
This PR allows to specify the basic auth user explicitly instead of assume the id is the username for authentication.
This fixes #186.