Commit Graph

92 Commits

Author SHA1 Message Date
Arik Kfir 823c76342b
Fix README.md links to notification APIs
This change fixes the documentation links for the notification manager APIs.

Signed-off-by: Arik Kfir <arik@kfirs.com>
2023-09-16 12:28:33 +03:00
Max Jonas Werner 926efbc120 Align docs structure with other controllers
In order to streamline the docs across all controllers, the CRD spec
file names are pluralized. This lets us better automate docs generation
from CRD specs.

refs fluxcd/website#1577

Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-07-29 16:39:13 +02:00
Hidde Beydals de9915ee3c docs: update spec to reflect v1beta1 Event API
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-11-22 12:14:37 +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
Andrey Ivashchenko b48a5de74b
Fix table with git commit status providers
Signed-off-by: Andrey Ivashchenko <andrey.ivashchenko@gmail.com>
2022-09-22 14:23:00 +03:00
Somtochi Onyekwere 25eeaf46dd Add .spec.timeout to Provider
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-31 11:25:09 +01:00
Sunny 8fac504e6b
Add OCIRepository event source kind
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-08-03 17:25:56 +05:30
Daniel Holbach 036e3e5a61 Add missing language to fenced code block
Fixes: fluxcd/website#1057

Signed-off-by: Daniel Holbach <daniel@weave.works>
2022-07-27 10:26:29 +02:00
Soule BA 44f5b43a4c
Update flux types api versions
Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-06-07 15:44:40 +02:00
Stefan Prodan 01b428d6c8
Merge pull request #369 from alekspog/feature/add-github-dispatch-provider
Add GitHub dispatch provider
2022-05-11 16:29:35 +03:00
Aleksey Pogibelev e320370041
fix documentation
Signed-off-by: Aleksey Pogibelev <aleksey.pogibelev@gmail.com>
2022-05-10 13:35:43 +03:00
Aleksey Pogibelev a21f25159b
improve documentation
Signed-off-by: Aleksey Pogibelev <aleksey.pogibelev@gmail.com>
2022-05-10 13:35:22 +03:00
Stefan Prodan cc0deae7be
Reformat provider docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-05-03 14:29:10 +03:00
Somtochi Onyekwere 4e97efdb91 Add docs for Microsoft Teams
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-04-26 16:31:16 +01:00
Aleksey Pogibelev dd34ba4ce8 fix merge conflicts 2022-04-22 10:54:46 +03:00
Aleksey Pogibelev a2a76e0d90 add documentation
Signed-off-by: Aleksey Pogibelev <aleksey.pogibelev@gmail.com>
2022-04-21 14:49:30 +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 b253471219 Update documentation for webex provider
Signed-off-by: ahothan <ahothan@cisco.com>
2022-03-28 09:26:23 -07:00
Sunny cc8b8e9089
Use new standardized runtime and meta packages
Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-03-18 00:01:41 +05:30
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 95cf1a699d add Proxy to SecretRef
Signed-off-by: Filipe Sequeira <filipe@weave.works>
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-02-18 11:41:01 +00:00
Somtochi Onyekwere 519b6a5c5c Add LabelSelectors for Event Sources
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-10 11:09:39 +01: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
Moshe Immerman 5163d18aac docs: update alert provider types
Signed-off-by: Moshe Immerman <moshe@flanksource.com>
2022-02-02 16:17:13 +02:00
Stefan Prodan 44c08a2659
Allow disabling cross-namespace event sources
Introduce the flag `--no-cross-namespace-refs` (defaults to false) for allowing cluster admins to disable cross-namespace event sources for alerts.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-28 10:30:31 +02: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
Somtochi Onyekwere a8a868e3f5 Add docs for gitea
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-01-12 14:44:29 +01:00
Stefan Prodan 1035a1f1ef
Merge pull request #298 from Alan01252/feature/alertmanager
Add timestamp as label for alertmanager
2022-01-11 15:57:15 +02:00
Somtochi Onyekwere 5b6b2b6e1f Update docs for telegram
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-01-10 13:46:34 +01:00
Alan Hollis 5a21f69f06 Add timestamp as label for alertmanager
Without the timestamp there is not enough entropy in the hash for
alertmanager to recongise that this is a new alert for some cases.

Adding the timestamp ensures that a new hash for the alert is created
each time and therefore no updates get missed.

Signed-off-by: Alan Hollis <me@alanhollis.com>
2022-01-05 09:46:40 +00:00
Hidde Beydals b097b806f4 spec: improve wording around Slack App integration
Signed-off-by: Hidde Beydals <hiddeco@users.noreply.github.com>
2021-11-24 15:22:21 +01:00
Stefan Prodan 4e96e0d34d
Merge pull request #245 from dmitriishaburov/slack-app-support
Add support for Slack app
2021-10-27 13:45:50 +03:00
Dmitrii Shaburov c65885f333 Define differences between Slack app and webhook
Signed-off-by: Dmitrii Shaburov <dmitrii.shaburov@bolt.eu>
2021-10-27 12:35:17 +03:00
Dmitrii Shaburov 3781570c82 Add Slack app docs, remove unused token field
Signed-off-by: Dmitrii Shaburov <dmitrii.shaburov@bolt.eu>
2021-10-27 12:35:17 +03:00
jooooel 78ca9695cd Fixed minor typos in provider.md
Signed-off-by: jooooel <duochjagochpensionarerna@gmail.com>
2021-10-25 15:11:58 +02:00
Stefan Prodan b1060df96f
Merge pull request #258 from Alan01252/feature/alertmanager
Add alertmanager provider
2021-10-19 14:14:57 +03: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
Stefan Prodan 7ec8ccfcbb
Merge pull request #254 from SomtochiAma/telegram-docs
Move telegram docs
2021-10-08 14:29:51 +03:00
Stefan Prodan 0e55a23de7
Merge pull request #252 from Alan01252/feature/OpsAndMeta
Add opsgenie provider
2021-10-08 14:13:46 +03:00
Somtochi Onyekwere ad90605b37 Move telegram docs
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-10-08 12:13:27 +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 31e9ef4429 Add docs for bitbucket commit status
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-09-03 10:29:56 +01:00
Stefan Prodan 05d276fe38
Release v0.16.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-08-26 14:10:29 +03: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 f95cb2a810 Add docs
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-08-26 09:06:16 +01:00
Jens Langhammer 235c3a77de docs: add note on how to disable traces
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-26 17:44:56 +02:00
Jens Langhammer c767aadd24 docs: add sentry channel example
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-26 16:58:19 +02:00
Jens Langhammer 091b4c64d9 docs: add docs for sentry channel-environment usage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-07-26 16:53:02 +02:00
Kingdon Barrett 04b079e36c
Fix a few typos
"Therefor" is a word, but I don't think this is one of its uses

Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2021-07-09 18:33:14 -04:00
Philip Laine c20b6ba085 Add note about expoosing receiver to the internet
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-05-06 10:18:57 +02:00