Webhook
executor.testkube.io / v1
apiVersion: executor.testkube.io/v1
kind: Webhook
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
WebhookSpec defines the desired state of Webhook
disabled
boolean
disable the webhook
events
[]string
Events declare list if events on which webhook should be called
headers
object
webhook headers (golang template supported)
onStateChange
boolean
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
payloadObjectField
string
will load the generated payload for notification inside the object
payloadTemplate
string
golang based template for notification payload
payloadTemplateReference
string
name of the template resource
selector
string
Labels to filter for tests and test suites
uri
string
Uri is address where webhook should be made (golang template supported)
status
object
WebhookStatus defines the observed state of Webhook
No matches. Try .spec.disabled for an exact path