docs(chart): add note about `.helmignore` for `.Files`

pull/3073/head
Joan Rieu 7 years ago committed by GitHub
parent 1b05c5ed55
commit c27333fd4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -589,9 +589,10 @@ sensitive_.
`Chart.Maintainers`. `Chart.Maintainers`.
- `Files`: A map-like object containing all non-special files in the chart. This - `Files`: A map-like object containing all non-special files in the chart. This
will not give you access to templates, but will give you access to additional will not give you access to templates, but will give you access to additional
files that are present. Files can be accessed using `{{index .Files "file.name"}}` files that are present (unless they are excluded using `.helmignore`). Files can be
or using the `{{.Files.Get name}}` or `{{.Files.GetString name}}` functions. You can accessed using `{{index .Files "file.name"}}` or using the `{{.Files.Get name}}` or
also access the contents of the file as `[]byte` using `{{.Files.GetBytes}}` `{{.Files.GetString name}}` functions. You can also access the contents of the file
as `[]byte` using `{{.Files.GetBytes}}`
- `Capabilities`: A map-like object that contains information about the versions - `Capabilities`: A map-like object that contains information about the versions
of Kubernetes (`{{.Capabilities.KubeVersion}}`, Tiller of Kubernetes (`{{.Capabilities.KubeVersion}}`, Tiller
(`{{.Capabilities.TillerVersion}}`, and the supported Kubernetes API versions (`{{.Capabilities.TillerVersion}}`, and the supported Kubernetes API versions

Loading…
Cancel
Save