Skip to content

Upgrade alertmanager to v0.31.1#7267

Merged
friedrichg merged 10 commits intomasterfrom
upgrade-alertmanager-31
Feb 19, 2026
Merged

Upgrade alertmanager to v0.31.1#7267
friedrichg merged 10 commits intomasterfrom
upgrade-alertmanager-31

Conversation

@friedrichg
Copy link
Member

@friedrichg friedrichg commented Feb 14, 2026

What this PR does: Upgrade alertmanager to v0.31.1

Continues #7221

Checklist

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

@friedrichg friedrichg force-pushed the upgrade-alertmanager-31 branch 2 times, most recently from db6114a to 3826076 Compare February 15, 2026 00:15
}
} else if strings.Contains(t.PkgPath(), "alertmanager/config") &&
strings.HasSuffix(t.Name(), "Config") {
// Unhandled config type - fail to ensure we don't miss new types.
Copy link
Member Author

Choose a reason for hiding this comment

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

We were missing configuration types before. We want to make sure they are all validated in the future after upgrades

if cfg.BasicAuth != nil && cfg.BasicAuth.PasswordFile != "" {
return errPasswordFileNotAllowed
}
if cfg.BasicAuth != nil && cfg.BasicAuth.UsernameFile != "" {
Copy link
Member Author

Choose a reason for hiding this comment

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

This check was missing.

Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
@friedrichg friedrichg force-pushed the upgrade-alertmanager-31 branch from 3826076 to d911ea3 Compare February 17, 2026 17:22
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Copy link
Member

@CharlieTLe CharlieTLe left a comment

Choose a reason for hiding this comment

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

Thanks!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 18, 2026
@friedrichg friedrichg merged commit 316cae0 into master Feb 19, 2026
93 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/alertmanager lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants