Skip to content

feat(k8s): argo cd posts deploy notifications to mattermost - #2904

Merged
dan-petty merged 1 commit into
mainfrom
feat/1393-argocd-mattermost-deploys
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/1393-argocd-mattermost-deploys

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Configure Argo CD's notifications controller to post devops application deploys and failed syncs directly to Mattermost.

What changed

  • Enable the Argo CD notifications controller in k8s/argocd/values.yaml with dedicated resource requests, limits, and empty argocdUrl.
  • Configure service.webhook.mattermost notifier pointing to $mattermost-deploys-url with Content-Type: application/json and retryMax: 1.
  • Define catalog triggers on-deployed and on-sync-failed with templates app-deployed and app-sync-failed formatted as single-line JSON payloads with toJson.
  • Subscribe on-sync-failed globally and on-deployed on the devops application via annotation in k8s/argocd/apps/devops.yaml.
  • Add managed credential mattermost.deploys_hook and derived key mattermost-deploys-url in argocd/argocd-notifications-secret.
  • Allow network egress from argocd and ingress to mattermost on TCP port 8065.
  • Update documentation in k8s/README.md.

Closes #1393

Change: openspec/changes/archive/2026-10-31-1393-argocd-mattermost-deploys/

Configure Argo CD's notifications controller to post devops application deploys and failed syncs to Mattermost.

- Enable Argo CD notifications controller with webhook notifier service targeting Mattermost.
- Configure catalog triggers on-deployed and on-sync-failed with JSON templates.
- Subscribe on-sync-failed globally and on-deployed on the devops application.
- Add managed credential mattermost.deploys_hook to store the webhook token in keyring.
- Add mattermost-deploys-url derived secret to argocd-notifications-secret in push-secrets.
- Permit network communication between argocd notifications controller and mattermost on TCP port 8065.
- Document notification setup and scopes in k8s/README.md.
- Archive OpenSpec change 1393-argocd-mattermost-deploys.

Closes #1393
@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
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 19:07
@dan-petty
dan-petty merged commit 6d9eff7 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/1393-argocd-mattermost-deploys branch October 31, 2026 19:07
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

Development

Successfully merging this pull request may close these issues.

feat(k8s): argo cd's notifications controller posts the devops application's deploys and every failed sync to mattermost's deploys channel

1 participant