pull/3707/merge
Ben 8 years ago committed by GitHub
commit 542432a45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,6 +90,7 @@ use. They are all accessible with the same names as in the Go package, but
with a lowercase first letter. For example, `Base` becomes `base`, etc. with a lowercase first letter. For example, `Base` becomes `base`, etc.
The imported functions are: The imported functions are:
- Base - Base
- Dir - Dir
- Ext - Ext
@ -117,11 +118,11 @@ bar/:
You have multiple options with Globs: You have multiple options with Globs:
```yaml ```yaml
{{ $context := . }}
{{ range $path := .Files.Glob "**.yaml" }} {{ range $path := .Files.Glob "**.yaml" }}
{{ $path }}: | {{ $path }}: |
{{ .Files.Get $path }} {{ $context.Files.Get $path }}
{{ end }} {{ end }}
``` ```
@ -206,4 +207,3 @@ data:
Currently, there is no way to pass files external to the chart during `helm install`. So if you are asking users to supply data, it must be loaded using `helm install -f` or `helm install --set`. Currently, there is no way to pass files external to the chart during `helm install`. So if you are asking users to supply data, it must be loaded using `helm install -f` or `helm install --set`.
This discussion wraps up our dive into the tools and techniques for writing Helm templates. In the next section we will see how you can use one special file, `templates/NOTES.txt`, to send post-installation instructions to the users of your chart. This discussion wraps up our dive into the tools and techniques for writing Helm templates. In the next section we will see how you can use one special file, `templates/NOTES.txt`, to send post-installation instructions to the users of your chart.

Loading…
Cancel
Save