Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >


testkube update webhook

Update Webhook


Update Webhook Custom Resource

testkube update webhook [flags]


  -e, --events stringArray                  event types handled by webhook e.g. start-test|end-test
--header stringToString webhook header value pair (golang template supported): --header Content-Type=application/xml (default [])
-h, --help help for webhook
-l, --label stringToString label key value pair: --label key1=value1 (default [])
-n, --name string unique webhook name - mandatory
--payload-field string field to use for notification object payload
--payload-template string if webhook needs to send a custom notification, then a path to template file should be provided
--payload-template-reference string reference to payload template to use for the webhook
--selector string expression to select tests and test suites for webhook events: --selector app=backend
-u, --uri string URI which should be called when given event occurs (golang template supported)

Options inherited from parent commands

  -a, --api-uri string     api uri, default value read from config if set (default "")
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy")
--insecure insecure connection for direct client
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
--oauth-enabled enable oauth
--verbose show additional debug messages