A FAST Kubernetes manifests validator, with support for Custom Resources!
Find a file
2020-05-31 21:14:50 +02:00
.github/workflows Create main.yml 2020-05-31 21:14:50 +02:00
bin add -dir parameter 2020-05-30 15:49:02 +02:00
fixtures first commit 2020-05-30 02:44:13 +02:00
pkg some linting simplifications 2020-05-31 19:29:30 +02:00
vendor vendor deps 2020-05-31 04:43:07 +02:00
workflows github actions try-out 2020-05-31 21:14:01 +02:00
Dockerfile Add Dockerfile 2020-05-31 17:15:03 +02:00
go.mod skipKinds + better error logging 2020-05-30 07:02:48 +02:00
go.sum skipKinds + better error logging 2020-05-30 07:02:48 +02:00
LICENSE add License & simple Readme 2020-05-30 17:33:29 +02:00
main.go further breakdown of main function 2020-05-31 20:20:53 +02:00
Makefile Support multi-resource files, include kind/version in logging 2020-05-31 16:47:30 +02:00
Readme.md Update README 2020-05-31 17:46:46 +02:00

Kubeconform

Kubeconform is a Kubernetes manifests validation tool. Build it into your CI to validate your Kubernetes configuration using the schemas from the registry maintained by the kubernetes-json-schema project!

It is inspired by and similar to Kubeval, but with the following improvements:

  • high performance: will validate & download manifests over multiple routines
  • support for Kubernetes CRDs

Usage

$ ./bin/kubeconform -h
Usage of ./bin/kubeconform:
  -dir value
        directory to validate (can be specified multiple times)
  -file value
        file to validate (can be specified multiple times)
  -k8sversion string
        version of Kubernetes to test against (default "1.18.0")
  -output string
        output format - text, json (default "text")
  -printsummary
        print a summary at the end
  -quiet
        quiet output - only print invalid files, and errors
  -schema value
        file containing an additional Schema (can be specified multiple times)
  -skipKinds string
        comma-separated list of kinds to ignore
  -strict
        disallow additional properties not in schema
  -workers int
        number of routines to run in parallel (default 4)

Credits