Helm package: Difference between revisions
Line 14: | Line 14: | ||
=Packaging and Dependencies= | =Packaging and Dependencies= | ||
If the chart being packaged declares [[Helm_Dependencies#Dependency_Declaration|dependencies]], the dependency charts must be available in the charts/ directory, otherwise the packaging attempt will fail: | |||
<syntaxhighlight lang='text'> | |||
Error: found in Chart.yaml, but missing in charts/ directory: b | |||
</syntaxhighlight> | |||
=Options= | =Options= |
Revision as of 21:28, 15 December 2019
External
Internal
Overview
Revised for Helm 3
The command packages a chart into a versioned chart archive file. If a path is given, the command will look at that path for a chart, which must contain a Chart.yaml file, and then package that directory. If no path is given, the command will look in the present working directory for a Chart.yaml file. Chart.yaml version element is used when generating the package name: when generating a package, the package command will use the version that it finds in the Chart.yaml as a token in the package name.
The chart archive is saved in the directory the command is run from.
Packaging and Dependencies
If the chart being packaged declares dependencies, the dependency charts must be available in the charts/ directory, otherwise the packaging attempt will fail:
Error: found in Chart.yaml, but missing in charts/ directory: b
Options
--debug
Use it to see what is packaged in the chart.