Files
helmfile/pkg/app/testdata/testreadfromyaml_rendertemplatelog/v0mode/log
T
Yusuke Kuoka bc6317122b Disable double-rendering in V1 (#647)
* Disable double-rendering in V1

We are going to force users to separate environments and releases sections in every helmfile.yaml in the [Helmfile V1](https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md). The goal of separation was to make the helmfile.yaml rendering result not dependent on the double-rendering and therefore the feature should be safe to be turned off in V1.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix helmfile template rendering error log for v1

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Add test for helmfile template debug log differences between v0 and v1 modes

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix helmfile template render debug log to not mention "first-pass" in v1 mode

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-24 12:38:11 +08:00

26 lines
494 B
Plaintext

first-pass rendering starting for "": inherited=&{default map[] map[]}, overrode=<nil>
first-pass uses: &{default map[] map[]}
first-pass rendering output of "":
0:
1: releases:
2: - name: foo
3: chart: mychart1
4: - name: bar
5:
6:
first-pass produced: &{default map[] map[]}
first-pass rendering result of "": {default map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "":
0:
1: releases:
2: - name: foo
3: chart: mychart1
4: - name: bar
5:
6: