-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual Gating #163
Comments
I was thinking about this as well. What seems complicated when implemented with a webhook server, is that you'll likely need a unique webhook endpoint per deployment. Perhaps we could create a generic webhook server that serves:
A unique webhook endpoint could be used from Flagger's
Does this mean new webhook types other than listed in https://docs.flagger.app/how-it-works#webhooks need to be added to flagger? |
I think we could have dedicated webhook types for manual gating. I see two possible types: confirm-rollout (delay analysis until POST /gates/start/{canary.namespace} returns 200) and confirm-promotion (delay promotion until POST /gates/promote/{canary.namespace} returns 200) PS. I’m on vacation till 22 July |
@stefanprodan Thanks for the response! From Flagger's perspective, you'll be able to use whatever path to send webhooks to(i.e. I'd like Flagger to work like that so that we can generate whatever URLs with Helm and integrate it with any http server. FWIW, I'll be using paths like |
@stefanprodan Just reviewed #251 - looks AWESOME. That's exactly what I wanted. Thanks a lot for your effort! |
@mumoshu if the PR looks ok can you please approve it in the GitHub UI? Thanks |
@stefanprodan Approved 👍 |
I discussed on slack with @stefanprodan the possibility of manual gating.
He mentioned that the feature could be created with new webhooks, flagger could send out a webhook call for external step approval, pre/during/post, and if the webhook returns a 200, then the step would be approved to move forward otherwise the the canary would be halted
The text was updated successfully, but these errors were encountered: