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 ```yaml
{{ range $path := .Files.Glob "**.yaml" }} {{ $root := . }}
{{ $path }}: | {{ range $path, $bytes := .Files.Glob "**.yaml" }}
{{ .Files.Get $path }} {{ $path }}: |-
{{ $root.Files.Get $path }}
{{ end }} {{ end }}
``` ```
@ -128,7 +129,7 @@ Or
```yaml ```yaml
{{ range $path, $bytes := .Files.Glob "foo/*" }} {{ range $path, $bytes := .Files.Glob "foo/*" }}
{{ $path }}: '{{ b64enc $bytes }}' {{ $path.base }}: '{{ $root.Files.Get $path | b64enc }}'
{{ end }} {{ end }}
``` ```

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

Loading…
Cancel
Save