Skip to content

Conversation

@tboerger
Copy link

Description

Currently the AlertmanagerConfig resource does not map all required fileds into the Alertmanager, with this change all currently supported attributes should be added.

I have no idea if it is OK to change this on both API versions, if there is something obviously wrong for you please tell me, it's my first contribution to this project.

Closes: #8009
Closes: #8008

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

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.
Added basic unit test.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

Integrated supported attributes for RocketChat alerts within AlertmanagerConfig

@tboerger
Copy link
Author

tboerger commented Oct 10, 2025

I can't see how the failing e2e tests are related to this PR

@tboerger
Copy link
Author

Anything else that is missing or should be changed?

@tboerger
Copy link
Author

@simonpasquier as requested I have dropped the file attributes even that I still don't get why these attributes are fine for other providers than Rocket.Chat.

@tboerger tboerger force-pushed the rocketchat-mapping branch 2 times, most recently from 94d937e to 5a54a7b Compare October 15, 2025 12:16
metalmatze
metalmatze previously approved these changes Oct 20, 2025
Copy link
Member

@heliapb heliapb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tboerger could you just rebase and re-run make--always-make format generate, since the docs check is failing. Other than that lgtm. Thanks

@tboerger
Copy link
Author

@heliapb just did that and pushed the fix.

@tboerger
Copy link
Author

@simonpasquier anything else you want to have changed? Or are we ready to go for it? :)

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.

AlertmanagerConfig drops the channel for RocketChat receivers AlertmanagerConfig requires token and tokenID for RocktChat

4 participants