Add webhook confirm-traffic-increase for manually approving traffic increase

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
This commit is contained in:
Mayank Shah
2021-03-16 20:18:27 +05:30
parent f2d121a13b
commit 873141b9ca
5 changed files with 26 additions and 0 deletions
+2
View File
@@ -314,6 +314,8 @@ const (
EventHook HookType = "event"
// RollbackHook rollback canary analysis if webhook returns HTTP 200
RollbackHook HookType = "rollback"
// ConfirmTrafficIncreaseHook increases traffic weight if webhook returns HTTP 200
ConfirmTrafficIncreaseHook = "confirm-traffic-increase"
)
// CanaryWebhook holds the reference to external checks used for canary analysis