mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 20:58:51 +02:00
* Make a few helmfile sub-commands to consistently support needs-related flags * helmfile-diff adds support for --include-transitive-needs * helmfile-template adds support for --skip-needs * helmfile-lint adds support for --skip-needs, --include-needs, and --include-transitive-needs Ref https://github.com/roboll/helmfile/issues/2055 Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix a few helmfile-lint needs related bugs and add tests Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Is include-transitive-needs realy working as intended? 🤔 Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Confirm that it does fail on unselected need by default Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Add missing testdata Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Test helmfile-template for include/skip needs support Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix a few terms Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Add more tests to better know the current helmfile-diff behavior around needs Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix failing tests Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix helmfile-diff to consistently handle skip/include-needs Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Extract testhelper.RequireLog for reusing Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix all bugs and test cases for TestDiff and TestDiff_2 Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix TestDiff_2 Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix TestDiff Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix TestDiffWithNeeds Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Unify behavior on including disabled releases as needs for lint and template Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Fix bug that --include-transitive-needs does not imply include-needs Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
processing file "helmfile.yaml" in directory "."
|
|
changing working directory to "/path/to"
|
|
first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil>
|
|
first-pass uses: &{default map[] map[]}
|
|
first-pass rendering output of "helmfile.yaml.part.0":
|
|
0:
|
|
1: releases:
|
|
2: - name: baz
|
|
3: chart: mychart3
|
|
4: - name: foo
|
|
5: chart: mychart1
|
|
6: needs:
|
|
7: - bar
|
|
8: - name: bar
|
|
9: chart: mychart2
|
|
10:
|
|
|
|
first-pass produced: &{default map[] map[]}
|
|
first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]}
|
|
vals:
|
|
map[]
|
|
defaultVals:[]
|
|
second-pass rendering result of "helmfile.yaml.part.0":
|
|
0:
|
|
1: releases:
|
|
2: - name: baz
|
|
3: chart: mychart3
|
|
4: - name: foo
|
|
5: chart: mychart1
|
|
6: needs:
|
|
7: - bar
|
|
8: - name: bar
|
|
9: chart: mychart2
|
|
10:
|
|
|
|
merged environment: &{default map[] map[]}
|
|
3 release(s) found in helmfile.yaml
|
|
|
|
processing 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 baz, bar
|
|
2 foo
|
|
|
|
processing releases in group 1/2: baz, bar
|
|
processing releases in group 2/2: foo
|
|
Affected releases are:
|
|
bar (mychart2) UPDATED
|
|
baz (mychart3) UPDATED
|
|
foo (mychart1) UPDATED
|
|
|
|
changing working directory back to "/path/to"
|