11. long: |
You can easily write
multi line text in yaml
by using this syntax
You can easily write
multi line text in yaml
by using this syntax
Multiline
@roidelapluie
12. long: >
You can easily write
multi line text in yaml
by using this syntax
You can easily write multi line text in yaml by using
Multiline
@roidelapluie
13. long: |-
You can easily write
multi line text in yaml
by using this syntax
No newline at the end
@roidelapluie
14. long: |+
You can easily write
multi line text in yaml
by using this syntax
You can easily write
multi line text in yaml
by using this syntax
All newlines at the end
@roidelapluie
16. ghent: &belgian_city
country: be
mainland: europe
antwerp: *belgian_city
ghent:
country: be
mainland: europe
antwerp:
country: be
mainland: europe
Anchors
@roidelapluie
17. ghent: &belgian_city
country: be
has tld: yes
antwerp:
<<*: belgian_city
has tld: no
ghent:
country: be
has tld: true
antwerp:
country: be
has tld: false
Inheritance
@roidelapluie
19. those tips are fun but I'd recommend you keep the
magic far from your prod because the magician on call
might not like reading the yaml spec at 3am :)
use jsonnet
@roidelapluie