The gateway listens to events from Gitlab.
The gateway spec defined in
examples has a
serviceSpec. This service is used to expose the gateway server and make it reachable from Gitlab.
How to get the URL for the service?¶
Depending upon the Kubernetes provider, you can create the Ingress or Route.
Deploy the gateway before creating the event source configmap, because you need to have the gateway pod running and a service backed by the pod, so that you can get the URL for the service.
Create the event Source.
Deploy the sensor.
Depending upon the event you subscribe to, a workflow will be triggered.