Commit Graph

43 Commits

Author SHA1 Message Date
Somtochi Onyekwere 4fcde0026d add docs and log when no objects are found
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-03-20 22:20:54 +01:00
Raffael Sahli 57f62f400c
feat: support multi receiver by matchLabels
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2023-03-20 08:11:30 +00:00
Hidde Beydals 7448a667a0
receiver: update default ImageRepository version
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-02-28 11:14:42 +01:00
Stefan Prodan d16588a193 Deprecate `Receiver.status.url` in favor of `.status.webhookPath`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-12-09 12:05:51 +00:00
Stefan Prodan 5fd17e6220 Refactor the Receiver URL generation
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
Somtochi Onyekwere db485228dd remove code for parsing github payload
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-08-10 21:19:22 +01: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
Paulo Gomes a0dc84e36a
Small fixes
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-24 07:20:15 +01:00
Somtochi Onyekwere ae5fbba16b Use PartialMetadata for annotating objects
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2022-02-17 11:02:20 +01:00
Stefan Prodan 6ffaef2a41
Update dependencies (fix CVE-2021-43565)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-11 13:21:26 +02:00
Somtochi Onyekwere 19a0daa906 Use conditions helper in reconciler
Co-authored-by: Piaras Hoban <piaras@weave.works>
Co-authored-by: Hidde Beydals <hiddeco@users.noreply.github.com>
Co-authored-by: souleb <bah.soule@gmail.com>
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-11-01 14:20:12 +01:00
Ali AKCA 7ded18f850
chore: Drop deprecated io/ioutil
Signed-off-by: Ali AKCA <ali@akca.io>
2021-10-27 09:44:51 +02:00
Stefan Prodan 9b5d9d0b2b
Update Git providers
- go-github v39.0.0
- go-bitbucket v0.9.26
- go-gitlab v0.50.4

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-09-17 12:43:51 +03:00
Hidde Beydals e7bb4c90c4 Request reconcile using patch instead of update
This should prevent the generation of the object getting bumped, as
observed on a GKE K8s 1.18 cluster using the  logic before this commit.

We only want to generation to increase when there are actual changes to
the `spec` of a resource, as some controllers use the `generation`
value to make assumptions about what they should do during a
reconciliation.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-07-09 17:55:50 +02:00
Stefan Prodan 78fa2d103a
Use controller-runtime structured logging
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-15 14:06:04 +02:00
Somtochi Onyekwere 4a68a61289 add acr webhook
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-03-05 12:34:11 +01:00
Somtochi Onyekwere 9aba08e6bf Uses unstructured client to annotate object
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-03-04 08:01:53 +01: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
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 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 4bfeabbda7
Lookup ready receivers in all namespaces
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-06 10:11:42 +02:00
Sylvain Rabot 35284dc511
Fix typo
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2020-11-13 11:38:58 +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
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
stefanprodan 16dd709335 Release v0.0.10 2020-09-12 10:51:36 +03: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 8075a01a9e Update source-controller to v0.0.5 2020-07-13 17:18:56 +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