diff --git a/artifacts/flagger/crd.yaml b/artifacts/flagger/crd.yaml index 1a19c283..c424fce2 100644 --- a/artifacts/flagger/crd.yaml +++ b/artifacts/flagger/crd.yaml @@ -245,6 +245,7 @@ spec: - rollout - confirm-promotion - post-rollout + - event url: description: URL address of this webhook type: string diff --git a/charts/flagger/templates/crd.yaml b/charts/flagger/templates/crd.yaml index 944386f6..f276da00 100644 --- a/charts/flagger/templates/crd.yaml +++ b/charts/flagger/templates/crd.yaml @@ -246,6 +246,7 @@ spec: - rollout - confirm-promotion - post-rollout + - event url: description: URL address of this webhook type: string diff --git a/kustomize/base/flagger/crd.yaml b/kustomize/base/flagger/crd.yaml index 1a19c283..c424fce2 100644 --- a/kustomize/base/flagger/crd.yaml +++ b/kustomize/base/flagger/crd.yaml @@ -245,6 +245,7 @@ spec: - rollout - confirm-promotion - post-rollout + - event url: description: URL address of this webhook type: string diff --git a/pkg/apis/flagger/v1alpha3/types.go b/pkg/apis/flagger/v1alpha3/types.go index adf4296f..0d9e3c56 100644 --- a/pkg/apis/flagger/v1alpha3/types.go +++ b/pkg/apis/flagger/v1alpha3/types.go @@ -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