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.
- Host: GitHub
- URL: https://github.com/lreimer/testkube-watch-controller
- Owner: lreimer
- License: apache-2.0
- Created: 2022-07-21T11:39:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T15:03:51.000Z (almost 4 years ago)
- Last Synced: 2025-03-05T15:01:34.794Z (about 1 year ago)
- Topics: kubernetes, operator, testkube
- Language: Go
- Homepage:
- Size: 74.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.