Package a chart for distribution

Creates a versioned .tgz package from a chart directory

helm package ./mychart --version 1.2.3 --app-version 1.2.3

tool
helm54 commands
tags
helmci

More helm commands

  • helm push mychart-1.2.3.tgz oci://registry.example.com/charts

    Publishes a chart to an OCI-compatible registry (Helm 3.8+)

  • helm lint ./mychart -f values.yaml --strict

    Checks chart structure and catches template errors

  • helm template <name> ./chart --show-only templates/deployment.yaml

    Renders only one manifest so you can check it; the path is relative to the chart root

  • helm template <name> ./chart --kube-version 1.29 --api-versions policy/v1 --include-crds

    Renders offline with fixed Kubernetes and API versions to test CRD capability checks; includes CRDs

  • helm upgrade --install <name> ./chart --reset-values -f values.yaml

    --reuse-values silently keeps old overrides; --reset-values starts a clean merge

all 54 helm commands