fix: remove invalid Slack receiver from alertmanager config #83
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "82-fix-remove-invalid-slack-receiver-from-a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Slack receiver in the kube-prometheus-stack alertmanager config had
api_url: ' '(single space), which caused Prometheus Operator to fail reconciliation every ~3 minutes with "unsupported scheme for URL". This removes the Slack receiver entirely since Telegram is the primary and only active notification channel.Changes
terraform/main.tf— Removed theslackreceiver fromalertmanager.config.receivers(simplifiedconcatto a plain list with justdefaultandtelegram). Removed the conditionalroutesblock that routed critical/warning alerts to slack. Removed the dynamicset_sensitiveblock forslack_configs[0].api_url.terraform/variables.tf— Removed theslack_webhook_urlvariable declaration (haddefault = "", no longer referenced)..woodpecker.yaml— RemovedTF_VAR_slack_webhook_urlfrom both thevalidateandapplypipeline steps.Makefile— Removedslack_webhook_urlfromTF_SECRET_VARSlist.Salt pillar entries (
secrets_registry.sls,platform.sls) intentionally retained as historical backup records.tofu plan Output
Test Plan
tofu fmt -recursive-- passed, no manual formatting neededtofu validate-- passedtofu plan -lock=false-- confirms 0 to add, 2 to change, 0 to destroyReview Checklist
tofu fmt -recursivepassedtofu validatepassedtofu plan -lock=falseoutput reviewed -- no unexpected changesslack_webhook_urlin terraform or CI (Salt pillar retained as backup)Related
Tofu Plan Output