Skip to content

CICD-161 · Package a chart ​

Encyclopedia · Helm release engineering · All snippets

Previous · CICD-160 · Next · CICD-162

1. Where it fits ​

  • Placement Bash run step following checkout, or equivalent lab terminal.
  • Prerequisites Helm 3, reviewed values and staging cluster when applying charts.
  • Platforms kubernetes, local-lab.

2. Copy the snippet ​

bash
mkdir -p dist
helm package ./helm/web --destination dist
ls dist/*.tgz

3. How it works ​

Packaging produces a chart archive named from the chart metadata and version.

4. Verify the result ​

The chart version determines the output archive name.

Validation syntax-validated (Bash parse). Status definitions.