crd-to-openapischema

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: Apache-2.0

README

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>

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL