Commit Graph

43 Commits

Author SHA1 Message Date
gdasson 504dc991cc Adding bitbucketserver provider for git commit status
Signed-off-by: gdasson <gaurav.dasson@gmail.com>
2023-11-20 23:17:04 -06:00
Michael Parker 71ed90ee8c
feat: create datadog notification provider
Signed-off-by: Michael Parker <michael@parker.gg>
2023-08-15 11:36:54 +03:00
Martin Kemp dbdc4dee73
Add support for PagerDuty
Signed-off-by: Martin Kemp <me@martinke.mp>
2023-06-27 10:52:24 +02:00
Matheus Pimenta 04cea9d51e Add Provider for Google Pub/Sub Topic
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
Co-authored-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
Co-authored-by: Max Jonas Werner <makkes@users.noreply.github.com>
Co-authored-by: Sunny <darkowlzz@protonmail.com>
2023-06-16 17:08:11 +01:00
ttyS3 d302029447
feat: add gitea notifier
Signed-off-by: ttyS3 <ttys3.rust@gmail.com>
2022-12-14 01:27:20 +08:00
Stefan Prodan a9ac01a2aa Avoid key collision for BitBucket status updates
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-12-09 12:05:51 +00:00
Stefan Prodan 9f2d0e1a6c Generate unique commit status updates
Use the Provider cluster assigned UID to compose a unique commit status
ID to avoid name collisions when multiple clusters write to the same
repository.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-12-09 12:05:51 +00:00
Stefan Prodan 974a77da00 Refactor reconcilers and introduce v1beta2 API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-12-09 11:03:53 +00:00
Max Jonas Werner a76b9a0c63
Add "generic-hmac" Provider
This commit adds the "generic-hmac" Provider type for authenticating
webhook requests coming from notification-controller. I extended the
`Forwarder` notifier to accept an optional key used for generating the
HMAC. If the key is nil or empty no HMAC header is generated and the
forwarder behaves as before. If it is provided an `X-Signature` HTTP
header is added to the request carrying the HMAC.

I transformed the `TestForwarder_Post` test into a table-driven test
so that we can use the same setup and testing code for testing HMAC
and non-HMAC forwarder instances.

Any existing `X-Signature` header value set through
a `Provider.spec.secretRef` Secret's `header` field will be
overwritten.

closes #99

Signed-off-by: Max Jonas Werner <max@e13.dev>
2022-10-04 18:41:45 +02:00
Aleksey Pogibelev dd34ba4ce8 fix merge conflicts 2022-04-22 10:54:46 +03:00
Aleksey Pogibelev 627eeba201 add github dispatch provider
Signed-off-by: Aleksey Pogibelev <aleksey.pogibelev@gmail.com>
2022-04-21 14:49:20 +03:00
ahothan 4b694098db Update the webex notification provider and markdown
Signed-off-by: ahothan <ahothan@cisco.com>
2022-03-23 13:36:24 -07:00
Filipe Sequeira c9040611e5 Add basic auth support to grafana provider
Signed-off-by: Filipe Sequeira <filipe@weave.works>
2022-02-21 12:37:38 +00:00
Filipe Sequeira 659c01f70e Add support for Grafana annotations API
Signed-off-by: Filipe Sequeira <filipe@weave.works>
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-08 11:10:14 +00:00
Moritz Schmitz von Hülst 3c7363234a Pass headers to generic provider through secretRef
Co-authored-by: Moritz Schmitz von H<C3><BC>lst <moritz@hauptstadtoffice.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-01-26 12:39:02 +01:00
nold 3b86de61a0 Fix(Provider/Matrix): CertSecretRef
Signed-off-by: nold <nold@gnu.one>
2022-01-26 11:25:19 +01:00
Dmitrii Shaburov 1b59feb9a2 Add support for Slack app
Signed-off-by: Dmitrii Shaburov <dmitrii.shaburov@bolt.eu>
2021-10-27 12:35:16 +03:00
Philip Laine edc5cb65d6 Fix MSTeams certificates
Signed-off-by: Philip Laine <philip.laine@gmail.com>
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2021-10-21 18:10:51 +02:00
Alan Hollis 8bf81500d3 Add alertmanager provider
This commit adds the alertmanager provider. The provider adds some
generic labels based on the event which should be enough to configure
appropraite routes within alertmanager.

The alert is annotated with the message by default and optionally by the
summary field given in the event.

Signed-off-by: Alan Hollis <me@alanhollis.com>
2021-10-13 12:48:51 +01:00
Alan Hollis cbe52b505a Add opsgenie provider
Signed-off-by: Alan Hollis <me@alanhollis.com>
2021-10-06 14:14:54 +01:00
Somtochi Onyekwere 61103fc19a Add support for Matrix notification
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-08-26 10:21:50 +01:00
Somtochi Onyekwere 45bb0e9106 Add test
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-08-25 23:19:02 +01:00
Somtochi Onyekwere 4893803b24 Add lark type
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-08-25 10:17:21 +01:00
Somtochi Onyekwere b0563cbd15 Send notifications using telegram
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-08-19 08:17:07 +01:00
Jens Langhammer f671f05ba8 providers/sentry: add environment support
use channel configuration for sentry environment to re-use the same DSN for multiple clusters

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-26 16:04:37 +02:00
Philip Laine 11736a31a2 Add cert pool to Slack provider requests
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2021-06-04 14:59:37 +02:00
Edvin Norling cfa71bf7a8 Use token & channel in azureevent
For JWT
* channel = eventhub namespace
* address = eventhub name
* token   = jwt token

For SAS
* address = connectionString, including endpoint tokens etc

Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00
Edvin Norling e019aaab34 Change to azureeventhub
* Update go.sum
* Use ctx with timeout
* minor linting & clean-up

Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00
Edvin Norling 6ffa2e91fe Add support for Azure EventHub provider
Solves #190

Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00
Philip Laine 8f3b685f17 Add self signed cert to provider
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-04-15 00:08:59 +02:00
LWJ 75d6dc4c31 Add support for Sentry provider
Signed-off-by: LWJ <lwjames1996@gmail.com>
2021-03-26 23:36:52 +00:00
Grant Doctor 01bacccb44 adding support for webex as an alert provider
Signed-off-by: Grant Doctor <gdoctor@cisco.com>
2021-03-22 14:54:04 -07:00
Darren Everley 3ba3cf8cc1 Added missing factory method.
Signed-off-by: Darren Everley <darren.everley@xeropoint.co.uk>
2021-03-01 10:23:18 +00:00
Philip Laine 4922ddee15 Add Azure DevOps provider
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-22 15:07:56 +01:00
Philip Laine 030a0f6ed8 Add bitbucket notifier
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-07 23:20:36 +01:00
Stefan Prodan 2437884a97
Change copyright to Flux authors
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-27 18:52:14 +02:00
Stefan Prodan 1f5d108d1d
Implement http(s) proxy for alerts
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-17 14:21:20 +03:00
stefanprodan d90acda9e6 Promote API to v1beta1 2020-09-30 18:21:17 +03:00
Philip Laine e176655c9d Add gitlab notifier 2020-09-13 21:16:03 +02:00
Philip Laine e321ee70fd Add github notifier 2020-08-26 20:46:10 +02:00
stefanprodan c42686fd60 Rename webhook alert provider to generic
Add the alert provider types to API
2020-07-07 09:15:07 +03:00
stefanprodan a44891b760 Add forwarder to notification providers 2020-07-01 15:59:24 +03:00
stefanprodan 4f7f8bba44 Port notifier package from Flagger 2020-07-01 15:21:12 +03:00