deploy

command
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Command zarf_package_deploy answers Ansible as the zarf_package_deploy module.

It is the second entry point the colonel_byte.zarf collection invokes, and it is the same shape as cmd/zarf/init: take over standard output, read the module's JSON parameters, render the zarf command line, run the installed zarf, follow the deployment, and write one JSON object. Everything it does is in internal/zarfmod.

Deploy exists beside init because neither is enough on its own. A cluster whose init package disables k3s local-storage has no StorageClass for zarf's registry to claim, so the registry cannot be initialised until a storage provider has been deployed, and the provider cannot be deployed until the cluster has been initialised far enough to hold it. The playbook in test/e2e/zarf/testdata walks that around: a seed-only init, the provider, then the rest of init. It is modeled on the uds-bundle at https://github.com/colonel-byte/uds-bundles/blob/main/upstream/init-local-path/uds-bundle.yaml.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL