Skip to content

A command line tool for testing kubernetes resources using tools like kubeval or open policy agent

License

Notifications You must be signed in to change notification settings

jenkins-x-plugins/jx-kube-test

Repository files navigation

jx-kube-test

Documentation Go Report Card Releases LICENSE Slack Status

jx-kube-test is a command line tool for testing Kubernetes resources generated via helm, helmfile or kustomize.

It supports various tools to validate:

Configuration

You can configure the tests to run by creating a .jx/kube-test/settings.yaml file using the

Using in a GitOps repository

If you use a GitOps repository layout like the Jenkins X GitOps Layout Conventions then you'll have a root folder like config-root in which case you can perform the default kubernetes validation on your resources via:

jx kube test run --source-dir config-root

To see the available arguments run jx kube test run --help or browse the CLI reference

Commands

See the jx-kube-test command reference