Skip to content

feat(k8s): post alertmanager alerts to mattermost - #2897

Merged
dan-petty merged 1 commit into
mainfrom
feat/1392-alertmanager-mattermost-alerts
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/1392-alertmanager-mattermost-alerts

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Configure Alertmanager to post critical and warning alerts to Mattermost incoming webhooks.

What changed

  • Replaced the placeholder webhook receiver in k8s/monitoring/prometheus-values.yaml with native mattermost receiver using mattermost_configs.
  • Mounted Secret alertmanager-mattermost optionally and read-only at /etc/alertmanager-mattermost.
  • Added monitoring/alertmanager-mattermost to the cluster secrets push table under stack infra.
  • Added managed credential mattermost.alerts_hook with keyring key mattermost_alerts_hook.
  • Configured network policy egress from monitoring to mattermost on TCP port 8065.
  • Configured network policy ingress in mattermost admitting TCP port 8065 traffic exclusively from Alertmanager pods in monitoring.
  • Updated RoadmapServiceJobsFailing alert rule to wait 30 minutes and alert when all jobs fail in one hour.
  • Updated documentation and alert catalog in k8s/README.md.
  • Archived OpenSpec change 1392-alertmanager-mattermost-alerts.

Closes #1392

@dan-petty dan-petty added type/feature Type feature: a new function scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Oct 31, 2026
Configure Alertmanager to post critical and warning alerts to Mattermost incoming webhooks.

- Replace the placeholder webhook receiver with native mattermost_configs in Alertmanager values.
- Mount Secret alertmanager-mattermost optionally and read-only in Alertmanager.
- Add monitoring/alertmanager-mattermost to cluster secrets push table under stack infra.
- Add managed credential mattermost.alerts_hook to store the webhook token in keyring.
- Permit monitoring egress to namespace mattermost on TCP port 8065.
- Permit mattermost ingress on TCP port 8065 exclusively from Alertmanager pods.
- Update RoadmapServiceJobsFailing alert rule to wait 30m and alert when all jobs fail in 1h.
- Update documentation and alert table in k8s/README.md.
- Archive OpenSpec change 1392-alertmanager-mattermost-alerts.

Closes #1392
@dan-petty
dan-petty force-pushed the feat/1392-alertmanager-mattermost-alerts branch from 8243abb to 01f215f Compare October 31, 2026 18:37
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 18:45
@dan-petty
dan-petty merged commit 17c5295 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/1392-alertmanager-mattermost-alerts branch October 31, 2026 18:45
dan-petty-release Bot added a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.32.0](v0.31.0...v0.32.0)
(2026-10-31)


### Features

* **k8s:** argo cd posts deploy notifications to mattermost
([#2904](#2904))
([6d9eff7](6d9eff7))
* **k8s:** post alertmanager alerts to mattermost
([#2897](#2897))
([17c5295](17c5295)),
closes [#1392](#1392)


### Bug Fixes

* **security:** the subprocess environment guard accepts...
([#2901](#2901))
([a508203](a508203))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/feature Type feature: a new function

Projects

None yet

1 participant