Skip to content

Commit

Permalink
docs: env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Nov 2, 2023
1 parent 4c67c26 commit 292abcf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/docs/articles/test-triggers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
<iframe width="100%" height="350px" src="https://www.youtube.com/embed/t4V6E9rQ5W4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Expand Down

0 comments on commit 292abcf

Please sign in to comment.