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

Consider exposing image and commit hooks in the HTTP API #1496

Closed
brantb opened this issue Nov 6, 2018 · 3 comments
Closed

Consider exposing image and commit hooks in the HTTP API #1496

brantb opened this issue Nov 6, 2018 · 3 comments

Comments

@brantb
Copy link
Contributor

brantb commented Nov 6, 2018

We'd like to reduce the amount of time it takes for image or git repository changes to be picked up by Flux using webhooks to notify Flux of updates, but the hooks to do so are only exposed to the Upstream API.

It's possible to partially work around this for git updates by calling the /api/flux/v9/update-manifests endpoint (like fluxctl sync) and discarding the result, but this is wasteful since that API was designed to start a background job and report on progress.

@warmfusion
Copy link

Is this related to #1128 ?

@2opremio
Copy link
Contributor

I would say it's a duplicate of #1128

@kingdonb
Copy link
Member

The flux-recv project has been upgraded in Flux v2 to a first-class part of Flux, the notification-controller.

I will close the issue for now as it is stale. Flux v1 remains in maintenance mode. I added details about this use case to #1128 and there are loads of additional docs in the Flux v2 https://toolkit.fluxcd.io project page.

We can provide support to Flux v1 users especially with respect to migrating to the new Flux version, Flux v2, which has some breaking changes but is also a total rewrite and also brings many improvements. I'm closing the issue but you are most welcome to write back on this issue, or open another issue. 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

5 participants