This command packages a chart into a versioned chart archive file. If a path is given, this will look at that path for a chart (which must contain a Chart.yaml file) and then package that directory.

Versioned chart archives are used by Helm package repositories.

To sign a chart, use the --sign flag. In most cases, you should also provide --keyring path/to/secret/keys and --key keyname.

$ helm package --sign ./mychart --key mykey --keyring ~/.gnupg/secring.gpg

If --keyring is not specified, Helm usually defaults to the public keyring unless your environment is otherwise configured.


werf helm package [CHART_PATH] [...] [flags] [options]


            set the appVersion on the chart to this version
  -u, --dependency-update=false
            update dependencies from "Chart.yaml" to dir "charts/" before packaging
  -d, --destination='.'
            location to write the chart.
            name of the key to use when signing. Used if --sign is true
            location of a public keyring
            location of a file which contains the passphrase for the signing key. Use "-" in order  
            to read from stdin.
            use a PGP private key to sign this package
            set the version on the chart to this semver version

Options inherited from parent commands

            Hooks status progress period in seconds. Set 0 to stop showing hooks status progress.   
            Defaults to $WERF_HOOKS_STATUS_PROGRESS_PERIOD_SECONDS or status progress period value
            Kubernetes config file path (default $WERF_KUBE_CONFIG, or $WERF_KUBECONFIG, or         
            Kubernetes config data as base64 string (default $WERF_KUBE_CONFIG_BASE64 or            
            Kubernetes config context (default $WERF_KUBE_CONTEXT)
            Set log color mode.
            Supported on, off and auto (based on the stdout’s file descriptor referring to a        
            terminal) modes.
            Default $WERF_LOG_COLOR_MODE or auto mode.
            Enable debug (default $WERF_LOG_DEBUG).
            Enable emojis, auto line wrapping and log process border (default $WERF_LOG_PRETTY or   
            Disable explanatory output (default $WERF_LOG_QUIET).
            Set log terminal width.
            Defaults to:
            * interactive terminal width or 140
            Add time to log entries for precise event time tracking (default $WERF_LOG_TIME or      
            Specify custom log time format (default $WERF_LOG_TIME_FORMAT or RFC3339 format).
            Enable verbose output (default $WERF_LOG_VERBOSE).
  -n, --namespace=''
            namespace scope for this request
            Status progress period in seconds. Set -1 to stop showing status progress. Defaults to