Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Post Synchronisation Hook #2696

Closed
richardcase opened this issue Dec 16, 2019 · 4 comments
Closed

Post Synchronisation Hook #2696

richardcase opened this issue Dec 16, 2019 · 4 comments

Comments

@richardcase
Copy link
Contributor

Describe the feature
I would like the ability to create a post-synchronisation webhook that includes the list of changed resources or any errors (or errors could be a separate hook).
https://github.com/fluxcd/flux/blob/master/pkg/daemon/sync.go#L80

This would allow me to integrate with external systems that are interested in when a change to a resource has been.

Expected behavior
Configure a post synchronisation webhook to call an endpoint
Add or update resource yaml in a flux monitored repo
Flux synchronises and resources are created or updated with causes the configured post-synchronise webhook to be called with details of the resourses that have changed.

Relates to closed iissue #2465

@richardcase richardcase added blocked-needs-validation Issue is waiting to be validated before we can proceed enhancement labels Dec 16, 2019
@2opremio
Copy link
Contributor

The GitOps Engine will likely provide this feature.

@2opremio 2opremio added help wanted and removed blocked-needs-validation Issue is waiting to be validated before we can proceed labels Jan 10, 2020
@richardcase
Copy link
Contributor Author

The GitOps Engine will likely provide this feature.

Hopefully. But until that happens it would be good to add hooks

@boxcee
Copy link

boxcee commented Aug 26, 2020

See: #3264

@kingdonb
Copy link
Member

Flux v1 is formally superseded since the GitOps Toolkit APIs have been declared stable:

https://fluxcd.io/docs/migration/timetable/

The repo will remain in maintenance for some time, but no new features can be accepted. Bugs can be addressed if they are critical and there is a PR to resolve it, but soon only CVEs can be addressed in Flux v1, and new users are all recommended to use Flux v2 for some time now.

Thanks for using Flux!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants