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 build

Renders the Manifests declared in tazuna.yaml and writes the result to stdout. Does not modify the cluster. Useful for previewing before apply or as pipe input to other tools.

tazuna build [-f tazuna.yaml] [--tags ...] [--no-cache | --offline]

Behavior

  1. Load and validate tazuna.yaml.
  2. Filter by --tags.
  3. Passes each Manifest to its Manager’s Build, concatenates the results, and writes them to stdout.

Does not evaluate context_matches. Whether the cluster is reached depends on the Manager’s Build implementation, but the built-in Managers basically do not require kubeconfig (ORAS’s registry pull does perform network access separately).

Flag

In addition to global flags, the following are accepted.

FlagAliasTypeDefaultDescription
--tags-t[]string[]Limits the processing target to Manifests with at least one of the specified tags (OR evaluation).
--no-cache-boolfalseFor type: oras Manifests, always refetch from the registry without using the cache.
--offline-boolfalseFor type: oras Manifests, forbid access to the registry. If the cache misses, it is an error.

--no-cache and --offline cannot be specified together.

Examples

tazuna build -f tazuna.yaml
tazuna build -f tazuna.yaml --tags web
tazuna build -f tazuna.yaml | kubectl diff -f -