Add event webhook type to CRD

This commit is contained in:
stefanprodan
2020-01-15 14:10:38 +02:00
parent 98ba38d436
commit e4dc923299
4 changed files with 5 additions and 0 deletions
+1
View File
@@ -245,6 +245,7 @@ spec:
- rollout
- confirm-promotion
- post-rollout
- event
url:
description: URL address of this webhook
type: string
+1
View File
@@ -246,6 +246,7 @@ spec:
- rollout
- confirm-promotion
- post-rollout
- event
url:
description: URL address of this webhook
type: string
+1
View File
@@ -245,6 +245,7 @@ spec:
- rollout
- confirm-promotion
- post-rollout
- event
url:
description: URL address of this webhook
type: string
+2
View File
@@ -149,6 +149,8 @@ const (
ConfirmRolloutHook HookType = "confirm-rollout"
// ConfirmPromotionHook halt canary promotion until webhook returns HTTP 200
ConfirmPromotionHook HookType = "confirm-promotion"
// EventHook dispatches Flagger events to the specified endpoint
EventHook HookType = "event"
)
// CanaryWebhook holds the reference to external checks used for canary analysis