Skip to main content

zarf prepare

Tools to help prepare assets for packaging


  -h, --help   help for prepare

Options inherited from parent commands

  -a, --architecture string   Architecture for OCI images and Zarf packages
--insecure Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-color Disable colors in output
--no-log-file Disable log file creation
--no-progress Disable fancy UI progress bars, spinners, logos, etc
--tmpdir string Specify the temporary directory to use for intermediate files
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")


  • zarf - DevSecOps for Airgap
  • zarf prepare find-images - Evaluates components in a zarf file to identify images specified in their helm charts and manifests
  • zarf prepare generate-config - Generates a config file for Zarf
  • zarf prepare patch-git - Converts all .git URLs to the specified Zarf HOST and with the Zarf URL pattern in a given FILE. NOTE: This should only be used for manifests that are not mutated by the Zarf Agent Mutating Webhook.
  • zarf prepare sha256sum - Generates a SHA256SUM for the given file