github.com/koderover/helm@v2.17.0+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 -a, --api-versions stringArray Kubernetes api versions used for Capabilities.APIVersions 28 -x, --execute stringArray Only execute the given templates 29 -h, --help help for template 30 --is-upgrade Set .Release.IsUpgrade instead of .Release.IsInstall 31 --kube-version string Kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.14") 32 -n, --name string Release name (default "release-name") 33 --name-template string Specify template used to name the release 34 --namespace string Namespace to install the release into 35 --notes Show the computed NOTES.txt file as well 36 --output-dir string Writes the executed templates to files in output-dir instead of stdout 37 --set stringArray Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 38 --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) 39 --set-string stringArray Set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 40 -f, --values valueFiles Specify values in a YAML file (can specify multiple) (default []) 41 ``` 42 43 ### Options inherited from parent commands 44 45 ``` 46 --debug Enable verbose output 47 --home string Location of your Helm config. Overrides $HELM_HOME (default "~/.helm") 48 --host string Address of Tiller. Overrides $HELM_HOST 49 --kube-context string Name of the kubeconfig context to use 50 --kubeconfig string Absolute path of the kubeconfig file to be used 51 --tiller-connection-timeout int The duration (in seconds) Helm will wait to establish a connection to Tiller (default 300) 52 --tiller-namespace string Namespace of Tiller (default "kube-system") 53 ``` 54 55 ### SEE ALSO 56 57 * [helm](helm.md) - The Helm package manager for Kubernetes. 58 59 ###### Auto generated by spf13/cobra on 3-Oct-2019