This repository aggregates popular k8s CRDs in JSON schema format. These schemas are used by various tools such as Datree and Kubeconform to perform resource validation on custom resources.
Would you like your public CRs to be automatically validated by these tools in the future? No problem! Add your schemas to this repository by creating a pull request, and help us support popular CRs in future validations :)
This repository also contains a handy utility that extracts all CRDs from a cluster and converts them to JSON schema.
This utility supports MacOS and Linux.
The following programs are required to be installed on the machine running this utility:
To use the crd-extractor:
- Download the latest release from this repository.
- Extract, and run the utility:
./crd-extractor