helm template

locally render templates

Synopsis

Render chart templates locally and display the output.

This does not require Tiller. However, any values that would normally be looked up or retrieved in-cluster will be faked locally. Additionally, none of the server-side testing of chart validity (e.g. whether an API is supported) is done.

To render just one template in a chart, use ‘-x’:

  1. $ helm template mychart -x templates/deployment.yaml
  1. helm template [flags] CHART

Options

  1. -x, --execute stringArray only execute the given templates
  2. -h, --help help for template
  3. --is-upgrade set .Release.IsUpgrade instead of .Release.IsInstall
  4. --kube-version string kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.9")
  5. -n, --name string release name (default "release-name")
  6. --name-template string specify template used to name the release
  7. --namespace string namespace to install the release into
  8. --notes show the computed NOTES.txt file as well
  9. --output-dir string writes the executed templates to files in output-dir instead of stdout
  10. --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  11. --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
  12. --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  13. -f, --values valueFiles specify values in a YAML file (can specify multiple) (default [])

Options inherited from parent commands

  1. --debug enable verbose output
  2. --home string location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
  3. --host string address of Tiller. Overrides $HELM-HOST
  4. --kube-context string name of the kubeconfig context to use
  5. --kubeconfig string absolute path to the kubeconfig file to use
  6. --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
  7. --tiller-namespace string namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.
Auto generated by spf13/cobra on 1-Aug-2018