argo-events
argo-events copied to clipboard
Duplicated Gitlab webhooks when using Eventsource with HA
Describe the bug
I have an EventSource with 2 replicas for different Gitlab events. The EventSource is responsible for creating the webhooks on the configured repos. When having HA we see duplicated webhooks, probably due to some concurrency issues between the replicas.
To Reproduce Steps to reproduce the behavior:
- Create an EventSource with 2 replicas
- Create a Gitlab event which creates a webhook
- You will notice often duplicated hooks
Expected behavior I would expect not seeing duplicated webhooks in the repo.
Screenshots
Environment:
- Argo: v3.4.7
- Argo Events: v1.7.6
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.