Skip to content
Validate your Kubernetes configuration files, supports multiple Kubernetes versions
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chocolatey/kubeval correct chocolatey package SHAs Feb 24, 2018
docs Added acceptance tests and docs for the ignore missing schemas flag Jul 13, 2019
fixtures feature: introduces --skip-crd-schema-miss flag so for CRD's we can s… Jun 28, 2019
kubeval Added acceptance tests and docs for the ignore missing schemas flag Jul 13, 2019
log Start splitting kubeval up into separate packages Jul 6, 2017
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 added scoop publishing to release configs Apr 19, 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 Fixed building in Dockerfiles May 4, 2019
Dockerfile.offline Fixed building in Dockerfiles May 4, 2019
LICENSE Initial working commit for kubeval Jun 25, 2017
Makefile use pattern rules for checksums Apr 26, 2019
Pipfile added mkdocs based documentation Apr 23, 2019
Pipfile.lock added mkdocs based documentation Apr 23, 2019
README.md Move documentation over to full docs site Apr 23, 2019
acceptance.bats Added acceptance tests and docs for the ignore missing schemas flag Jul 13, 2019
go.mod change module name to match new repository Apr 19, 2019
go.sum covert to using modules and drop glide dependency Apr 5, 2019
main.go change SkipCrdSchemaMiss into IgnoreMissingSchemas and the related fl… Jun 28, 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.

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.