fix: formatting of YAML samples in 1.0 proposal doc (#767)
Signed-off-by: Scott Leggett <scott@sl.id.au>
This commit is contained in:
parent
10d640b211
commit
734957238d
|
|
@ -18,7 +18,6 @@ Note that every breaking change should have an easy alternative way to achieve t
|
|||
- By forcing (or print a big warning) the user to do separate helmfile parts for `environments` and `releases`, it's very unlikely Helmfile needs double-rendering at all.
|
||||
- After this change, every helmfile.yaml written this way:
|
||||
|
||||
```
|
||||
environments:
|
||||
default:
|
||||
values:
|
||||
|
|
@ -28,9 +27,9 @@ Note that every breaking change should have an easy alternative way to achieve t
|
|||
chart: charts/myapp
|
||||
values:
|
||||
- {{ .Values | toYaml | nindent 4 }}
|
||||
```
|
||||
|
||||
must be rewritten like:
|
||||
```
|
||||
|
||||
environments:
|
||||
default:
|
||||
values:
|
||||
|
|
@ -41,9 +40,9 @@ Note that every breaking change should have an easy alternative way to achieve t
|
|||
chart: charts/myapp
|
||||
values:
|
||||
- {{ .Values | toYaml | nindent 4 }}
|
||||
```
|
||||
|
||||
It might not be a deal breaker as you already had to separate helmfile parts when you need to generate `environments` dynamically:
|
||||
```
|
||||
|
||||
environments:
|
||||
default:
|
||||
values:
|
||||
|
|
@ -60,7 +59,6 @@ Note that every breaking change should have an easy alternative way to achieve t
|
|||
chart: charts/myapp
|
||||
values:
|
||||
- {{ .Values | toYaml | nindent 4 }}
|
||||
```
|
||||
|
||||
If you're already using any helmfile.yaml files that are written in the first style, do start using `---` today! It will probably reveal and fix unintended template evaluations. If you start using `---` today, you won't need to do anything after Helmfile 1.0.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue