Validation Generation for Kubeflow CRD on Kubernetes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
generated
pkg
vendor vendor: Add May 28, 2018
.gitignore Update May 28, 2018
Gopkg.lock
Gopkg.toml
LICENSE
README.md
crd-validation.yaml Update May 28, 2018
main.go

README.md

CRD Validation

This tool is to inline all references for Kubernetes API specifications, which is a workaround in order to avoid kubernetes/kubernetes#54579.

How to use

This tool is built for kubeflow community while it also works for other CRDs by design.

Clone

git clone https://github.com/gaocegege/crd-validation
mv ./crd-validation $GOPATH/src/github.com/kubeflow
cd $GOPATH/src/github.com/kubeflow/crd-validation

Build

go build .

Run

./crd-validation -c ./crd-validation.yaml tfjob

Acknowledgements

The work is inspired by ant31/crd-validation.