Skip to main content

release lint

Lint a directory of application manifest files.

Usage

replicated release lint --yaml-dir YAML_DIR [flags]
  • YAML_DIR corresponds to the root directory of the YAML application manifest files.
  • Returns exit code 1 when an error in linting is discovered. Otherwise, returns exit codse 0 (such as for info and warning messages).
FlagTypeDescription
--yaml-dirpathThe directory containing application manifests for a release. (required)
--fail-onstringThe minimum severity of a linting rule to cause a non-zero exit code. Supported values are [info, warn, error, none]. (default is error)
-h, --helpHelp for the admin-console

Examples

replicated release lint --yaml-dir ./manifests --fail-on error
RULE TYPE LINE MESSAGE
config-spec warn Missing config spec
replicas-1 info 10 Found Replicas 1
container-resource-requests info 27 Missing resource requests