Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tazuna check

Verifies the validity of tazuna.yaml without touching the cluster. Suitable as the first thing to run in CI.

tazuna check [-f tazuna.yaml] [--fix]

Behavior

  1. Load tazuna.yaml.
  2. Run validation against the file and all expanded manifests[].
  3. If no problems, write ok to stdout and exit with status 0.
  4. With --fix, auto-number Manifests whose name is unset, write back tazuna.yaml, and write fixed: <path> to stdout.

See tazuna.yaml schema - Validation summary for the list of check items. No cluster access is performed.

Flag

In addition to global flags, the following are accepted.

FlagAliasTypeDefaultDescription
--fix-boolfalseAuto-numbers Manifests whose name is unset and writes back tazuna.yaml.

--fix overwrites the file. We recommend running it under version control.

Examples

tazuna check
tazuna check -f path/to/tazuna.yaml
tazuna check --fix