I have a use case where I want to trigger a argo workflow when github push events occur. So far from what I understand the following would be the steps of my approach,
- Create Github webhook
- and then create the following in kubernetes
Event source(receives event from webhook and writes to event bus) -> Event Bus -> Sensor(listen to event from event bus & trigger the actions) -> trigger workflow template
Now, I have a few questions,
- Can multiple event sources use same event bus?
- How are we connecting event source to argo & to the github webhook? Are we creating a service & ingress from event source? Are there any examples or documentations available for this?
After spending a couple of days, I am still confused how to bridge the gaps between these pieces. I am a little new to the argocd, so it will be helpful if you could point out the gaps in my understanding.