Unverified Commit c27333fd authored by Joan Rieu's avatar Joan Rieu Committed by GitHub

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

parent 1b05c5ed
...@@ -589,9 +589,10 @@ sensitive_. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment