kepval
is a tool that checks whether the YAML metadata in a KEP (Kubernetes
Enhancement Proposal) is valid.
- Install
kepval
:GO111MODULE=on go get k8s.io/enhancements/cmd/kepval
- [Optional] clone the enhancements for test data
git clone https://github.com/kubernetes/enhancements.git
- Run
kepval <path to kep.md>
- Run the tests with
go test -cover ./...