Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 808 Bytes

File metadata and controls

34 lines (22 loc) · 808 Bytes

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

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

Build

GO111MODULE=off go build .

Run

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

Acknowledgements

The work is inspired by ant31/crd-validation.