helmfile/pkg
Yusuke Kuoka fc306ec3d1
Make a few helmfile sub-commands consistently support needs-related flags (#78)
* 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>
2022-06-20 07:19:39 +09:00
..
app Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
argparser remove unused comments 2022-05-30 10:08:19 +02:00
config reconstruct_main_function 2022-06-01 07:32:36 +08:00
environment Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
envvar Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
event Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
exectest Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
helmexec Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
maputil Fix various golangci-lint errors (#2059) 2022-02-12 20:28:08 +09:00
plugins feat(template): added secret template function (#1221) 2020-04-25 21:10:02 +09:00
remote Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
state chore(state): Append Api Versions flags to helm-diff (#107) 2022-06-05 15:18:54 +09:00
testhelper Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
testutil mv captureStdout as public func 2022-04-03 22:24:38 +08:00
tmpl Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00