Skip to content

vmalertmanager: fixed ignore templates#2122

Merged
vrutkovs merged 2 commits intomasterfrom
vmalertmanager-fix-ignored-templates
May 7, 2026
Merged

vmalertmanager: fixed ignore templates#2122
vrutkovs merged 2 commits intomasterfrom
vmalertmanager-fix-ignored-templates

Conversation

@AndrewChubatiuk
Copy link
Copy Markdown
Contributor

@AndrewChubatiuk AndrewChubatiuk commented Apr 29, 2026

fixes #2121
fixes VictoriaMetrics/helm-charts#2869


Summary by cubic

Fixes vmalertmanager ignoring templates when no VMAlertmanagerConfig CRs or tracing config are discovered. Template-only setups now render into the generated Alertmanager config (fixes #2121, helm-charts#2869).

  • Bug Fixes
    • Only return early in buildConfig when there are no configs, no tracing, and no templates.
    • Added unit test for templates-only config and updated CHANGELOG.

Written for commit 393cc6b. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Signed-off-by: Vadim Rutkovsky <vadim@vrutkovs.eu>
@vrutkovs vrutkovs merged commit 22d1bcd into master May 7, 2026
4 checks passed
@vrutkovs vrutkovs deleted the vmalertmanager-fix-ignored-templates branch May 7, 2026 12:31
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.

bug:victoria-metrics-k8s-stack monzo templates no longer work with alertmanager VMAlertManager templates not passed through to config secret

2 participants