diff --git a/docs/docs/articles/test-triggers.mdx b/docs/docs/articles/test-triggers.mdx index eeadcdd084..fa63192fc2 100644 --- a/docs/docs/articles/test-triggers.mdx +++ b/docs/docs/articles/test-triggers.mdx @@ -188,6 +188,15 @@ Kubernetes API and gets notified by Kubernetes on each event on the watched reso Testkube exposes CRUD operations on test triggers in the REST API. Check out the [Open API](../openapi.md) docs for more info. +## Injected Environment Variables + +The following environment variables are automatically injected into each triggered test pod: + +WATCHER_EVENT_RESOURCE: resource type +WATCHER_EVENT_NAME: resource name +WATCHER_EVENT_NAMESPACE: resource namespace +WATCHER_EVENT_EVENT_TYPE: event type + ## Video Tutorial