Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 586 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 586 Bytes

Kubernetes CRD to OpenAPISchema

This project is a CLI that will convert kind: CustomResourceDefinitions to a JSON Schema file that's now compatible to use with kubeconform to check your CRs.

Motivation

As part of the Replicated vendor tools, we want to help ensure that valid YAML is created for every release. As more CRDs are used in applications, the schema has become more dynamic. Many projects publish CRDs without also publishing an OpenAPISchema for the project.

Usage

crd-to-openapischema <url or path to schema>