Skip to content

zarf dev generate-schema

zarf dev generate-schema

Generates a JSON schema for Zarf values based on the package definition and chart defaults

zarf dev generate-schema [ DIRECTORY ] [flags]

Options

--delete-not-found Remove existing schema keys when they are not found in the mapped values
-f, --flavor string The flavor of components to include in the resulting package (i.e. have a matching or empty "only.flavor" key)
-h, --help help for generate-schema
--set stringToString Specify package templates to set on the command line (KEY=value) (default [])
-u, --update Update the existing schema. Formatting such as ordering and newlines may change.

Options inherited from parent commands

-a, --architecture string Architecture for OCI images and Zarf packages
--features stringToString Provide a comma-separated list of feature names to bools to enable or disable. Ex. --features "foo=true,bar=false,baz=true" (default [])
--insecure-skip-tls-verify Skip checking server's certificate for validity. This flag should only be used if you have a specific reason and accept the reduced security posture.
--log-format string Select a logging format. Defaults to 'console'. Valid options are: 'console', 'json', 'dev'. (default "console")
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-color Disable terminal color codes in logging and stdout prints.
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
--tmpdir string Specify the temporary directory to use for intermediate files
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

SEE ALSO

  • zarf dev - Commands useful for developing packages