Skip to content

Spike: Notifications #2876

@manno

Description

@manno

We want to notify external services about events in Fleet, so users can build workflows around Fleet as a deployer.

For now we are focusing on one type of outgoing notification, a http request, e.g targeted at a webhook endpoint.

Notifications are configured by creating a new custom resource, with fields like: 
URL, template for request body, credential references, which events to react to
A new controller will watch for notification configs and then generate requests from that config when an event happens.

Research

What events should generate a notification?

  • gitrepo added
  • gitrepo deployed
  • bundle events

Do we need logic to combine events, e.g. only notify if A and B happened?
How do other projects deal with notifications? Are there "generic" notifiers we can use, besides http requests?

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status

    Blocked

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions