prometheus / prometheus/alertmanager
Load smtp_auth_username from file
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.6k
- Forks
- 2.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 61
Description
It would be very helpful to load auth_username/smtp_auth_username from a file like auth_password_file/smtp_auth_password_file. We would like to load both from a kubernetes secret using the kube-prometheus-stack helm chart but we can only load the password.
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 by locating the existing auth_password_file and smtp_auth_password_file handling in Alertmanager's configuration and SMTP notification code. Check nearby configuration or SMTP tests, then add equivalent file-based username behavior for auth_username and smtp_auth_username. Done means usernames can be loaded from Kubernetes-mounted secret files and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100