This tool is to inline all references for Kubernetes API specifications, which is a workaround in order to avoid kubernetes/kubernetes#54579.
This tool is built for kubeflow community while it also works for other CRDs by design.
git clone https://github.com/gaocegege/crd-validation
mv ./crd-validation $GOPATH/src/github.com/kubeflow
cd $GOPATH/src/github.com/kubeflow/crd-validation
go build .
./crd-validation -c ./crd-validation.yaml tfjob
The work is inspired by ant31/crd-validation.