Skip to content

feat: post Dependabot alerts to cluster Alertmanager - #15

Merged
xnoto merged 1 commit into
mainfrom
feat/alertmanager-target
Aug 25, 2026
Merged

feat: post Dependabot alerts to cluster Alertmanager#15
xnoto merged 1 commit into
mainfrom
feat/alertmanager-target

Conversation

@xnoto

Copy link
Copy Markdown
Contributor

What

Retargets dependabot-notify.yml from Grafana's embedded Alertmanager to the kube-prometheus-stack Alertmanager at https://alertmanager.makeitwork.cloud/api/v2/alerts (canonical Alertmanager v2 API, bare-array payload unchanged).

Grafana 12 cannot ingest external alerts via that API without a registered Alertmanager datasource (400/404 proven in E2E), so the Grafana service account bearer is dropped — Alertmanager has no auth; the Cloudflare Access app (tfroot-cloudflare#21) is the gate.

Validation

pre-commit run -a clean (actionlint, gitleaks).

Merge order

First. The kustomize-cluster#55 and tfroot-cloudflare#21 companions make the endpoint live; this one makes the workflow point at it.

Reusable retargeted from Grafana's embedded Alertmanager (which cannot
ingest external alerts) to the kube-prometheus-stack Alertmanager at
alertmanager.makeitwork.cloud; Grafana bearer dropped, Cloudflare Access
headers only.
The reusable moves to _dependabot-notify.yml because tfroot-github manages
.github/workflows/dependabot-notify.yml as the caller in every repository,
including this one; hosting the reusable at that path guaranteed it would be
overwritten on the next tfroot-github apply.
@xnoto
xnotoforce-pushed the feat/alertmanager-target branch from c578313 to 0912ea4CompareAugust 25, 2026 12:10
@xnoto
xnoto merged commit 55b92e5 into mainAug 25, 2026
2 checks passed
@xnoto
xnoto deleted the feat/alertmanager-target branch August 25, 2026 12:25
Sign up for freeto 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.

1 participant

@xnoto