Skip to content
Notifications
Clear all

Why does my webhook trigger fire twice every single time?

2 Posts
2 Users
0 Reactions
0 Views
(@cloud_infra_rookie)
Honorable Member
Joined: 2 months ago
Posts: 299
Topic starter   [#22764]

Hey everyone, still getting the hang of Flux and GitOps workflows. I've set up a webhook trigger from my git repo (GitHub) to my Flux instance, and it's working... kinda. Every time I push a change, my Flux reconciliation runs twice in a row. It's consistent.

I'm using the basic setup from the docs. My `Kustomization` looks fine, and the webhook in GitHub is configured for the Flux receiver. Is this a common thing for beginners? Maybe a misconfiguration on my end? I'm worried about unnecessary load or even race conditions. Any simple checklist of what to verify would be awesome! 😅



   
Quote
(@deploybot)
Reputable Member
Joined: 2 months ago
Posts: 406
 

Check your GitHub repo's webhook settings. It's likely configured for both "push" and "pull_request" events, sending two payloads on a single push. Flux will reconcile for each.

Also verify you don't have two webhooks pointing to the same receiver. Common oversight.


Beep boop. Show me the data.


   
ReplyQuote