diff --git a/api/executor/v1/webhook_types.go b/api/executor/v1/webhook_types.go index f29c4184..d1d49b3a 100644 --- a/api/executor/v1/webhook_types.go +++ b/api/executor/v1/webhook_types.go @@ -76,9 +76,6 @@ type WebhookTemplateSpec struct { Headers map[string]string `json:"headers,omitempty"` // Disabled will disable the webhook Disabled bool `json:"disabled,omitempty"` - // OnStateChange will trigger the webhook only when the result of the current execution differs from the previous result of the same test/test suite/workflow - // Deprecated: field is not used - OnStateChange bool `json:"onStateChange,omitempty"` // webhook configuration Config map[string]WebhookConfigValue `json:"config,omitempty"` // webhook parameters diff --git a/config/crd/bases/executor.testkube.io_webhooktemplates.yaml b/config/crd/bases/executor.testkube.io_webhooktemplates.yaml index 581581d1..d3e14457 100644 --- a/config/crd/bases/executor.testkube.io_webhooktemplates.yaml +++ b/config/crd/bases/executor.testkube.io_webhooktemplates.yaml @@ -111,11 +111,6 @@ spec: type: string description: webhook headers (golang template supported) type: object - onStateChange: - description: |- - OnStateChange will trigger the webhook only when the result of the current execution differs from the previous result of the same test/test suite/workflow - Deprecated: field is not used - type: boolean parameters: additionalProperties: description: webhook parameter schema