hull helm-compat export
hull helm-compat export writes a hull package out as a Helm v3 chart so that
tooling which only understands Helm’s layout can read it.
When to use it
Use it when something downstream expects a Chart.yaml — a registry that
scans for Helm charts, a linter, a GitOps tool. Note that hull’s ${...}
expressions are copied verbatim: they resolve only under hull, so the export
is for sharing static structure, not for running helm install. To hand Helm
fully rendered manifests instead, pre-render with hull template and ship the
output.
What happens
- hull reads
hull.yamlfrom<hull-package-path>and writes aChart.yamlwithapiVersion: v2and the package’sname,version,description, andappVersion. - It copies
values.yamlacross if the package has one. - It copies the
templates/tree verbatim into the output directory. It refuses to follow any symlink undertemplates/and stops with an error if it finds one. - It writes everything under
--out. If you omit--out, it writes to a temporary directory namedhull-helm-export-<package>. - It prints
exported helm-compat chart to <dir>.
Usage
hull helm-compat export <hull-package-path> [flags]
Flags
| Flag | Type | Default | Effect |
|---|---|---|---|
--out |
string | temp dir | write the Helm chart into this directory instead of a temporary one |
Also inherits the global flags.
Worked example
Export the package in ./my-app into ./helm-export:
hull helm-compat export ./my-app --out ./helm-export
Output:
exported helm-compat chart to ./helm-export
Given ./my-app/hull.yaml:
name: my-app
version: 1.4.0
appVersion: "2.1.0"
description: Example web app
hull writes ./helm-export/Chart.yaml:
apiVersion: v2
appVersion: "2.1.0"
description: Example web app
name: my-app
version: 1.4.0
Each field traces straight from hull.yaml; apiVersion: v2 is added so Helm
recognises the chart. Alongside it sit the copied values.yaml and the
templates/ tree.
See also
helm-compathelm-compat reportmigrate— the reverse direction: Helm chart to hull packagetemplate— render a hull package to static manifests