An open API service indexing awesome lists of open source software.

https://github.com/lreimer/testkube-watch-controller

A K8s controller that watches Kubernetes change events to trigger Testkube test execution.
https://github.com/lreimer/testkube-watch-controller

kubernetes operator testkube

Last synced: about 1 year ago
JSON representation

A K8s controller that watches Kubernetes change events to trigger Testkube test execution.

Awesome Lists containing this project

README

          

# Testkube Watch Controller

A K8s controller that watches for Kubernetes change events to trigger the execution of Testkube tests and suites.

The idea, logic and configuration is inspired by the original
[Kubewatch](https://github.com/robusta-dev/kubewatch) project. The big difference is that
on change events the controller will call the Testkube API server to trigger test and test suite execution based on label and annotation metadata.

## Usage

```bash
kubectl testkube create test --file examples/nginx-curl-test.json --name nginx-curl-test --type "curl/test"
kubectl testkube create testsuite --file examples/nginx-curl-testsuite.json

kubectl apply -f examples/nginx-service.yaml
kubectl apply -f examples/nginx-deployment.yaml
```

## Maintainer

M.-Leander Reimer (@lreimer),

## License

This software is provided under the Apache v2.0 open source license, read the `LICENSE`
file for details.