/jx-kube-test

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

Primary LanguageGoApache License 2.0Apache-2.0

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