Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

replicatedhq/crd-to-openapischema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes CRD to OpenAPISchema

This project is a CLI that will convert a kind: CustomResourceDefinition to an OpenAPISchema JSON file that's compatible with kubeval.

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>

Releases

No releases published

Packages

No packages published