Slack alert pipeline

Wire reconcile events to Slack via a provider+alert; note: webhook lives in a secret

flux create provider slack --type slack --secret-ref webhook && flux create alert prod --provider-ref slack --event-source 'Kustomization/*' --event-severity info

tool
flux29 commands
tags
fluxnotificationsobservabilitygitops

More flux commands

  • flux create receiver github --type github --event github:push --secret-ref webhook-token --resource GitRepository/<name>

    Generate a webhook URL so git pushes trigger instant reconcile instead of polling

  • flux reconcile source git <name>

    Pull the latest commit now without touching dependent kustomizations

  • flux events --for Kustomization/<name>

    Stream the reconcile event history for one object to diagnose drift or failures

  • flux create kustomization app --source=GitRepository/<name> --path=./app --depends-on=infra --prune=true --interval=10m

    Block app reconcile until infra kustomization is ready; note: enforces apply ordering

  • flux check

    Verify all Flux controllers are running and CRDs are installed

all 29 flux commands