replicatedhq / crd-to-openapischema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

License:Apache License 2.0


Languages

Language:Go 93.9%Language:Makefile 6.1%