Stefan Prodan
c640ea8e36
Fix alerts regex filtering
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 12:55:57 +02:00
Stefan Prodan
5c9e95ca02
Implement regex exclusions for alerts
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-08 15:45:11 +02:00
Somtochi Onyekwere
bcc3bac747
align space
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-21 09:30:20 +01:00
Somtochi Onyekwere
f9fc7292b3
Add generic-hmac implementation
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-21 09:12:01 +01:00
Stefan Prodan
dc6e6e6f19
Merge pull request #126 from SomtochiAma/nexus-webhk
...
Add Nexus webhook receiver
2021-01-20 17:16:48 +02:00
Somtochi Onyekwere
46576679b1
convert kind to lowercase in notifications
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-20 15:58:37 +01:00
Somtochi Onyekwere
9e37e307ef
run make test
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-20 12:43:08 +01:00
Somtochi Onyekwere
6f299d5229
Add webhook for nexus
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-20 12:40:17 +01:00
Somtochi Onyekwere
a005b7928c
Add object kind to messaging platform
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-19 14:34:01 +01:00
Somtochi Onyekwere
07bca13213
Adds gcr notification webhook
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-18 12:09:24 +01:00
Somtochi Onyekwere
29e3805c2f
Updates docs
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-15 13:52:21 +01:00
Somtochi Onyekwere
201fb66617
add quay webhook
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-15 13:37:58 +01:00
Stefan Prodan
4e63d79514
Implement DockerHub webhook receiver
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-14 16:57:31 +02:00
Stefan Prodan
c148d6a036
Trigger ImageRepository reconciliation with webhook receivers
...
- Add ImageRepository to the Receiver API known kinds and RBAC
- Trigger container image updates to Git by annotating ImageRepository objects
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-14 14:16:13 +02:00
Stefan Prodan
49180091a7
Merge pull request #97 from fluxcd/alert-summary
...
Add alert summary to notification metadata
2020-12-07 10:57:58 +02:00
Stefan Prodan
f9fc5db2d4
Add alert summary to notification metadata
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-06 11:38:28 +02:00
Stefan Prodan
4bfeabbda7
Lookup ready receivers in all namespaces
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-06 10:11:42 +02:00
Philip Laine
2390a39b4b
Add check for duplicate status to avoid spamming the same status
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 19:41:48 +01:00
Philip Laine
87a96b487d
Update test urls
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-22 15:07:56 +01: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
Stefan Prodan
2d4c6e31ba
Merge pull request #83 from relu/adopt-k8s-conditions
...
Refactor to adopt k8s standardized Condition type
2020-11-19 21:32:43 +02:00
Aurel Canciu
ce214b9fa9
Refactor to adopt k8s standardized Condition type
...
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 19:51:40 +02:00
Kevin McDermott
9222181998
Add support for sending a component header from the forwarder.
...
This adds support for sending an HTTP header `gotk-component` with the
originating controller, this can be identifed in receiving servers.
Signed-off-by: Kevin McDermott <bigkevmcd@gmail.com>
2020-11-18 14:01:52 +00:00
Philip Laine
bec9f9a32f
Change error messages to start with lowercase
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 18:30:03 +01:00
Philip Laine
feb2794f3a
Change error message quoting
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 15:11:41 +01:00
Philip Laine
e812068c63
Verify repository id in git notifiers
...
The different git notifiers need repository ids in different formats.
On top of that some git providers support repositories in subgroups
while others do not support nesting. Each notifier needs test to verify
that they support their specific functionality.
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 13:51:22 +01:00
Johan Lore
b5bd309b22
Update util.go + test
...
Signed-off-by: Johan Lore <jlore@ippon.fr>
2020-11-17 13:15:58 +01:00
Sylvain Rabot
35284dc511
Fix typo
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2020-11-13 11:38:58 +01:00
Stefan Prodan
9ba52a45e5
Skip alert if it's not ready
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-09 14:30:33 +02: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
e02c336582
Use reconcile request annotation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-27 17:36:39 +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
stefanprodan
d4e3755515
Implement `fluxcd/pkg/meta/api` in APIs
2020-09-30 11:33:32 +03:00
stefanprodan
66518860d7
Add support for S3 buckets to alerts and receivers
2020-09-22 14:15:18 +03:00
Philip Laine
e48863b473
Implement isCommitStatus util function
2020-09-19 12:42:43 +02:00
Philip Laine
8a57342aa1
Skip update events for chat notifiers
2020-09-19 12:10:21 +02:00
Philip Laine
c292355431
Skip progressing events for git notifiers
2020-09-19 12:10:07 +02:00
Philip Laine
c17be73792
Change eventseverity check to use constant
2020-09-13 21:33:23 +02:00
Philip Laine
e176655c9d
Add gitlab notifier
2020-09-13 21:16:03 +02:00
stefanprodan
16dd709335
Release v0.0.10
2020-09-12 10:51:36 +03:00
Philip Laine
92c41630d5
Remove unused test
2020-08-31 20:37:01 +02:00
Philip Laine
1e8230d55d
Add revision to error message
2020-08-30 13:04:02 +02:00
Philip Laine
c071b5e154
Make description lowercase and remove namespace from context
2020-08-29 16:56:30 +02:00
Philip Laine
029630b9ed
Update status context and description
2020-08-26 20:46:17 +02:00
Philip Laine
8d81f037e3
Split reason camelcase into words
2020-08-26 20:46:17 +02:00
Philip Laine
e321ee70fd
Add github notifier
2020-08-26 20:46:10 +02:00
Hidde Beydals
bb7c241c83
Change CRD domain 'notification.toolkit.fluxcd.io'
...
Due to required domain changes for the helm-controller so that it
can co-exist in a cluster with the Helm Operator, other Toolkit
components are moving to a *.toolklit.fluxcd.io domain too.
2020-07-30 22:32:07 +02:00
stefanprodan
ac20c35c4f
Lookup alerts at cluster level
...
Include involved object kind in logs.
2020-07-14 16:42:35 +03:00
stefanprodan
8075a01a9e
Update source-controller to v0.0.5
2020-07-13 17:18:56 +03: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
7c7a26641e
Implement Bitbucket server receiver
2020-07-06 13:10:18 +03:00
stefanprodan
95f1ae4ce9
Implement Harbor receiver
2020-07-05 00:33:16 +03:00
stefanprodan
ba0512e37a
Discard requests for suspended receivers
2020-07-04 09:25:03 +03:00
stefanprodan
a2ced40e9e
Implement GitLab receiver
2020-07-04 08:32:12 +03:00
stefanprodan
28e8477e29
Implement GitHub receiver
2020-07-04 08:19:06 +03:00
stefanprodan
368c13af28
Implement GitRepository hook
2020-07-03 18:32:34 +03:00
stefanprodan
378f185dd9
Add wildcard support
2020-07-02 19:48:40 +03:00
stefanprodan
073c3bff68
Implement retry with backoff for alert posting
...
- retry alert HTTP POST four times with an exponential backoff of maximum 30 seconds
2020-07-02 09:27:00 +03:00
stefanprodan
c0e02990e6
Format imports
2020-07-01 17:40:33 +03:00
stefanprodan
a44891b760
Add forwarder to notification providers
2020-07-01 15:59:24 +03:00
stefanprodan
959e088337
Implement event dispatching
2020-07-01 15:32:13 +03:00
stefanprodan
4f7f8bba44
Port notifier package from Flagger
2020-07-01 15:21:12 +03:00
stefanprodan
ab9c5a74fd
Init HTTP server
2020-07-01 12:58:17 +03:00