Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

alertmanager: add several secret-file fields#8537

Open
cjyar wants to merge 4 commits intoprometheus-operator:mainprometheus-operator/prometheus-operator:mainfrom
cjyar:discord-secret-filecjyar/prometheus-operator:discord-secret-fileCopy head branch name to clipboard
Open

alertmanager: add several secret-file fields#8537
cjyar wants to merge 4 commits intoprometheus-operator:mainprometheus-operator/prometheus-operator:mainfrom
cjyar:discord-secret-filecjyar/prometheus-operator:discord-secret-fileCopy head branch name to clipboard

Conversation

@cjyar
Copy link
Copy Markdown

@cjyar cjyar commented Apr 25, 2026

Discord and MS Teams have webhook_url_file fields in alertmanager, but those fields aren't supported by the operator. I checked all of the secret-file style fields in the alertmanager docs, and these were the only two missing that I found. I also reordered fields for weChat.

Description

Alertmanager has webhook_url_file fields for Discord and MS Teams, but those fields aren't supported by the operator. This PR adds that support.

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

I haven't tested this; sorry. I don't have a suitable system for running tests. I'm typing this on a Windows box.

Changelog entry

- Add support for `webhook_url_file` in Discord and MS Teams.

Discord and MS Teams have webhook_url_file fields in alertmanager, but
those fields aren't supported by the operator. I checked all of the
secret-file style fields in the alertmanager docs, and these were the
only two missing that I found. I also reordered fields for weChat.
@cjyar cjyar requested a review from a team as a code owner April 25, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.