schemagen

command
v2.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Command schemagen downloads the JSON schemas embedded into the nelm binary, strips them down and packs them into the archives read by pkg/resource/schemas: the Kubernetes API schemas of -kube-version merged with those of the minor versions before it at their latest patch, and the CRDs catalog.

The version is pinned by "kubeconformValidationSchemasUpstreamKubeVersion" in the Taskfile, the one place it is configured; the generated index is what tells nelm which version it validates against. Runs as a build dependency and is idempotent: an archive matching what the index records is left alone.

Jump to

Keyboard shortcuts

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