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
More helm commands
-
helm push mychart-1.2.3.tgz oci://registry.example.com/chartsPublishes a chart to an OCI-compatible registry (Helm 3.8+)
-
helm lint ./mychart -f values.yaml --strictChecks chart structure and catches template errors
-
helm template <name> ./chart --show-only templates/deployment.yamlRenders 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-crdsRenders 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