PostSync support? #1183
-
Hey, I was looking at migrating to Flux v2 or ArgoCD (currently on Flux v1 now) and was wondering if there's something similar to ArgoCD's PostSync resource hook? I'd want to automatically run a script/curl command after the sync completes successfully. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I would suggest you look into the notification controller and what is possible to do with it. There is a generic webhook notifier if all you want is to post the event to some other system. Is your plan to simply make a http request somewhere or is it to run more complex commands? |
Beta Was this translation helpful? Give feedback.
I would suggest you look into the notification controller and what is possible to do with it. There is a generic webhook notifier if all you want is to post the event to some other system. Is your plan to simply make a http request somewhere or is it to run more complex commands?
https://toolkit.fluxcd.io/guides/notifications/#setup-notifications