Skip to content

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

License

Notifications You must be signed in to change notification settings

lreimer/testkube-watch-controller

Repository files navigation

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 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

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), mario-leander.reimer@qaware.de

License

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published