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
- Load
tazuna.yaml. - Run validation against the file and all expanded
manifests[]. - If no problems, write
okto stdout and exit with status 0. - With
--fix, auto-number Manifests whosenameis unset, write backtazuna.yaml, and writefixed: <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.
| Flag | Alias | Type | Default | Description |
|---|---|---|---|---|
--fix | - | bool | false | Auto-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
Related
- Detailed validation rules:
tazuna.yamlschema