prometheus / prometheus/alertmanager
Support for providing token_url as a file in http_config.oauth2
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.6k
- Forks
- 2.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 61
Description
Relevant docs: https://prometheus.io/docs/alerting/latest/configuration/#oauth2
The same way that it is useful to have the optionality to provide a Client Secret via client_secret or client_secret_file, it would be useful to have a token_url_file field to support providing a token_url value via file.
This is particularly useful for Helm deployments of Alertmanager that can only resolve the token_url at deployment time.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OAuth2 section of the Alertmanager configuration documentation and trace the http_config.oauth2 token_url and client_secret fields into the configuration entry point. Done means Alertmanager accepts token_url_file for Helm-resolved values and documents the new option alongside token_url and client_secret_file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100