Skip to content

unpack

Extracts a bundle into the current directory.

Usage

capsailer unpack --file <bundle.tar.gz>

When to Use It

push reads a bundle directly, so you do not need unpack before pushing. Use it to:

  • install a chart straight from the bundle (helm install my-app charts/<chart>.tgz), which is how you install when you pushed to an external registry
  • look at what the bundle contains

Options

Option Description
--file Path to the bundle file (required)

Example

unpack writes into the current directory, and it overwrites files with the same name, such as manifest.yaml. Use an empty directory:

mkdir work && cd work
capsailer unpack --file ../capsailer-bundle.tar.gz
ls
# charts  images  manifest.yaml

Safety

unpack refuses to write outside the current directory. A bundle with absolute paths, .. segments or links that point outside is rejected.

See Also