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

Alertmanager: Update the prometheus/alertmanager to its latest version #3097

Merged
merged 4 commits into from Sep 30, 2022

Conversation

gotjosh
Copy link
Contributor

@gotjosh gotjosh commented Sep 30, 2022

What this PR does

Upgrades alertmanager to its latest version.

Which issue(s) this PR fixes or relates to

Fixes #2651, which was fixed via prometheus/alertmanager#2968
Fixes #2806
A revert of #2924, which was fixed via prometheus/alertmanager#3080

Checklist

  • N/A Tests updated
  • N/A Documentation added
  • N/A CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@gotjosh
Copy link
Contributor Author

gotjosh commented Sep 30, 2022

@pracucci could you please take a look? 🙏 Would love if this could make it to next week's build.

@gotjosh gotjosh marked this pull request as ready for review September 30, 2022 15:01
@gotjosh gotjosh requested a review from a team as a code owner September 30, 2022 15:01
@pracucci
Copy link
Collaborator

Sure @gotjosh. Looking into it.

@pracucci pracucci self-requested a review September 30, 2022 15:26
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

This Alertmanager upgrade introduces two new settings which allow to read from file and send it content over the network:

  • GlobalConfig > SMTPAuthPasswordFile
  • EmailConfig > AuthPasswordFile

Similar configs are blocked in Mimir, because of security reasons. We should block these two new settings too. Please look at validateAlertmanagerConfig() and its test TestValidateAlertmanagerConfig.

@pracucci
Copy link
Collaborator

- 	github.com/aws/aws-sdk-go v1.44.66 // indirect
+	github.com/aws/aws-sdk-go v1.44.94 // indirect

I went through the AWS release notes and everything looks good to me.

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM!

@gotjosh gotjosh enabled auto-merge (squash) September 30, 2022 16:11
@gotjosh gotjosh merged commit 3553130 into main Sep 30, 2022
@gotjosh gotjosh deleted the upgrade-am-latest branch September 30, 2022 16:14
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.

Alertmanager fallback config not using defaults Alertmanager crashes when using 3rd party plugin
2 participants