Serverless function triggers (eventing)
Problem to solve
Currently, functions can only be invoked by sending a payload to the function's URL. As a user, I wish to be able to trigger this functions when another GitLab event happens.
Knative eventing has stabilized and we could create GitLab eventing for it. We would have a GitLab library in knative upstream to implement webhooks in the knative cluster.
Knative eventing supports listening from events from:
- GCP PubSub
For the first eventing iteration we will support
1. Kubernetes. This will be a standalone CRD controller that will register a webhook for a project. The webhook URL will be a service endpoint.