github.com/Beeketing/helm@v2.12.1+incompatible/docs/helm/helm_template.md (about) 1 ## helm template 2 3 locally render templates 4 5 ### Synopsis 6 7 8 Render chart templates locally and display the output. 9 10 This does not require Tiller. However, any values that would normally be 11 looked up or retrieved in-cluster will be faked locally. Additionally, none 12 of the server-side testing of chart validity (e.g. whether an API is supported) 13 is done. 14 15 To render just one template in a chart, use '-x': 16 17 $ helm template mychart -x templates/deployment.yaml 18 19 20 ``` 21 helm template [flags] CHART 22 ``` 23 24 ### Options 25 26 ``` 27 -x, --execute stringArray only execute the given templates 28 -h, --help help for template 29 --is-upgrade set .Release.IsUpgrade instead of .Release.IsInstall 30 --kube-version string kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.9") 31 -n, --name string release name (default "release-name") 32 --name-template string specify template used to name the release 33 --namespace string namespace to install the release into 34 --notes show the computed NOTES.txt file as well 35 --output-dir string writes the executed templates to files in output-dir instead of stdout 36 --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 37 --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) 38 --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 39 -f, --values valueFiles specify values in a YAML file (can specify multiple) (default []) 40 ``` 41 42 ### Options inherited from parent commands 43 44 ``` 45 --debug enable verbose output 46 --home string location of your Helm config. Overrides $HELM_HOME (default "~/.helm") 47 --host string address of Tiller. Overrides $HELM_HOST 48 --kube-context string name of the kubeconfig context to use 49 --kubeconfig string absolute path to the kubeconfig file to use 50 --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) 51 --tiller-namespace string namespace of Tiller (default "kube-system") 52 ``` 53 54 ### SEE ALSO 55 56 * [helm](helm.md) - The Helm package manager for Kubernetes. 57 58 ###### Auto generated by spf13/cobra on 1-Aug-2018