From 8081448170f6f6734ebc28efc805290135aacd7e Mon Sep 17 00:00:00 2001 From: adamkenihan Date: Fri, 14 Jun 2024 14:45:46 +0100 Subject: [PATCH] Fixed comments Signed-off-by: adamkenihan --- rfcs/NNNN-cdevents-provider/README.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/rfcs/NNNN-cdevents-provider/README.md b/rfcs/NNNN-cdevents-provider/README.md index 1a3ea163..4f7bb724 100644 --- a/rfcs/NNNN-cdevents-provider/README.md +++ b/rfcs/NNNN-cdevents-provider/README.md @@ -21,14 +21,15 @@ This RFC proposes to add a `Provider` type to the Flux notification-controller A When `Provider` objects configured to send CDEvents are alerted by a Flux event, they will utilise a user defined mapping of Flux and CDEvents events to send an appropriate CDEvent payload to a defined URL. ## Motivation CDEvents enables interoperability between supported tools in a workflow, and flux is a very popular continuous delivery tool, as such we have received many questions about implementing CDEvents into the tool. The receiver part of this integration is already implemented in flux 2.3.0 ### Goals @@ -36,7 +37,8 @@ CDEvents enables interoperability between supported tools in a workflow, and flu Integrate [CDEvents](https://github.com/cdevents) into Flux with a CDEvents Provider that supports user mapping of flux to CDEvent events. ### Non-Goals @@ -44,14 +46,21 @@ Integrate CDEvents into Flux with a CDEvents Provider. A CDEvent receiver is already implemented into Flux 2.3.0. ## Proposal Add CDEvents to the list of available `Providers` in Flux Notification controller. The user should be able to create mappings within the configuration of the `Provider` that dictates the CDEvent payload to send depending on the Flux event that triggered the alert. These CDEvent payloads should have meaningful data from the source event. There will be an initial focus on HelmRelease and related events as the format within Flux for those events is much more consistent. ### User Stories @@ -71,7 +80,9 @@ Optional if existing discussions and/or issues are linked in the motivation sect There are currently no viable alternatives for the CDEvent Provider. ## Design Details