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.
Click to show internal directories.
Click to hide internal directories.