Skip to content
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

Merged
merged 11 commits into from
May 28, 2021

Conversation

kubicgruenfeld
Copy link
Contributor

This PR allows to specify the basic auth user explicitly instead of assume the id is the username for authentication.

This fixes #186.

@kubicgruenfeld kubicgruenfeld requested a review from a team as a code owner May 28, 2021 13:20
Copy link
Collaborator

@gotjosh gotjosh left a 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?

README.md Outdated Show resolved Hide resolved
pkg/alerting/runner.go Outdated Show resolved Hide resolved
pkg/commands/alerts.go Outdated Show resolved Hide resolved
pkg/commands/alerts.go Outdated Show resolved Hide resolved
pkg/commands/alerts.go Outdated Show resolved Hide resolved
pkg/commands/alerts.go Outdated Show resolved Hide resolved
pkg/commands/rules.go Outdated Show resolved Hide resolved
pkg/commands/rules.go Outdated Show resolved Hide resolved
kubicgruenfeld and others added 8 commits May 28, 2021 16:28
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>
@kubicgruenfeld
Copy link
Contributor Author

Thanks for reviewing that fast! :)

@gotjosh
Copy link
Collaborator

gotjosh commented May 28, 2021

Thank you @kubicgruenfeld ! Lastly, can you please create a changelog entry under https://github.com/grafana/cortex-tools/blob/main/CHANGELOG.md#unreleasedmaster?

Copy link
Collaborator

@gotjosh gotjosh left a 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.

@gotjosh gotjosh merged commit f2fb4f8 into grafana:main May 28, 2021
simonswine pushed a commit to grafana/mimir that referenced this pull request Jan 12, 2022
)

* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

basic auth user is assumed to be id
2 participants