Merge pull request #1299 from javiercr/patch-2

Fix docs regarding .Files.GetString and .Files.GetBytes
pull/1307/head
Matt Butcher 9 years ago committed by GitHub
commit 7ffdcdd8be

@ -287,8 +287,8 @@ sensitive_.
- `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. Files can be accessed using `{{index .Files "file.name"}}`
or using the `{{.Files.Get name}}` or `{{.Files.GetString name}}` functions. Note that or using the `{{.Files.Get name}}` or `{{.Files.GetString name}}` functions. You can
file data is returned as a `[]byte` unless `{{.Files.GetString}}` is used. also access the contents of the file as `[]byte` using `{{.Files.GetBytes}}`
**NOTE:** Any unknown Chart.yaml fields will be dropped. They will not **NOTE:** Any unknown Chart.yaml fields will be dropped. They will not
be accessible inside of the `Chart` object. Thus, Chart.yaml cannot be be accessible inside of the `Chart` object. Thus, Chart.yaml cannot be

Loading…
Cancel
Save