docs(helm): update Globs examples to work correctly

s/coffess/coffees/
pull/2733/head
gmcnutt 8 years ago
parent 4a7d47cd74
commit f27f42021c

@ -118,9 +118,10 @@ You have multiple options with Globs:
```yaml
{{ range $path := .Files.Glob "**.yaml" }}
{{ $path }}: |
{{ .Files.Get $path }}
{{ $root := . }}
{{ range $path, $bytes := .Files.Glob "**.yaml" }}
{{ $path }}: |-
{{ $root.Files.Get $path }}
{{ end }}
```
@ -128,7 +129,7 @@ Or
```yaml
{{ range $path, $bytes := .Files.Glob "foo/*" }}
{{ $path }}: '{{ b64enc $bytes }}'
{{ $path.base }}: '{{ $root.Files.Get $path | b64enc }}'
{{ end }}
```

@ -319,7 +319,7 @@ refer to that value by reference. YAML refers to this as "anchoring":
```yaml
coffee: "yes, please"
favorite: &favoriteCoffee "Cappucino"
coffess:
coffees:
- Latte
- *favoriteCoffee
- Espresso
@ -339,7 +339,7 @@ YAML would be:
```YAML
coffee: yes, please
favorite: Cappucino
coffess:
coffees:
- Latte
- Cappucino
- Espresso

Loading…
Cancel
Save