Skip to content
Validate your Kubernetes configuration files, supports multiple Kubernetes versions
Go Shell Makefile PowerShell Dockerfile
Branch: master
Clone or download
garethr Merge pull request #171 from brendanjryan/bjr-single-warning
Only logs missing schema warning once
Latest commit ecd0802 Aug 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add CircleCI config for testing Jul 20, 2019
chocolatey/kubeval correct chocolatey package SHAs Feb 24, 2018
docs Added TAP output format Aug 10, 2019
fixtures Merge branch 'detect-helm-source' of https://github.com/glb/kubeval i… Jul 20, 2019
kubeval Merge branch 'master' into bjr-single-warning Aug 13, 2019
log cleanup Jul 28, 2019
version Kubeval can now print it's own version information Jul 9, 2017
.dockerignore Dockerfile for building/running acceptance tests Feb 24, 2018
.gitignore added mkdocs based documentation Apr 23, 2019
.goreleaser.yml singular form was deprecated Jul 20, 2019
BUILDING.md Add documentation on how to build goreleaser snapshots Apr 28, 2019
CONDUCT.md added explicit conduct statement Apr 23, 2019
Dockerfile Fixed building in Dockerfiles May 4, 2019
Dockerfile.acceptance Add CircleCI config for testing Jul 20, 2019
Dockerfile.offline Fixed building in Dockerfiles May 4, 2019
LICENSE Initial working commit for kubeval Jun 25, 2017
Makefile Drop the offline image from the default target Jul 20, 2019
Pipfile added mkdocs based documentation Apr 23, 2019
Pipfile.lock added mkdocs based documentation Apr 23, 2019
README.md fmt fix Aug 6, 2019
acceptance.bats only logs missing schema warning once Aug 13, 2019
go.mod add json output formatter Aug 2, 2019
go.sum cleanup Jul 28, 2019
main.go Merge branch 'master' into bjr-single-warning Aug 13, 2019
mkdocs.yml added analytics to the documentation site Apr 23, 2019

README.md

Kubeval

kubeval is a tool for validating a Kubernetes YAML or JSON configuration file. It does so using schemas generated from the Kubernetes OpenAPI specification, and therefore can validate schemas for multiple versions of Kubernetes.

CircleCI Go Report Card GoDoc

$ kubeval my-invalid-rc.yaml
The document my-invalid-rc.yaml contains an invalid ReplicationController
--> spec.replicas: Invalid type. Expected: integer, given: string
$ echo $?
1

For full usage and installation instructions see kubeval.instrumenta.dev.

You can’t perform that action at this time.