helmfile/pkg/app
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
..
testdata Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
version feat: Persist Helmfile version in helmfile.lock for version compatibility check (#1016) 2019-12-11 09:19:18 +09:00
app.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_apply_nokubectx_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_apply_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_diff_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_lint_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_sync_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_template_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
app_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
ask.go feat: helmfile as a go library (#639) 2019-06-04 09:12:00 +09:00
config.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
constants.go Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
constants_test.go Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
context.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
desired_state_file_loader.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
destroy_nokubectx_test.go Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
destroy_test.go Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
diff_nokubectx_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
diff_test.go Make a few helmfile sub-commands consistently support needs-related flags (#78) 2022-06-20 07:19:39 +09:00
errors.go feat: Opt-out dep-builds and repo-updates (#463) 2019-02-04 12:07:25 +09:00
errors_test.go add unittest for error.go in pkg/app 2022-04-28 09:01:02 +08:00
formatters.go Correct enabled property in helmfile list (#1921) 2022-01-10 17:24:07 +09:00
formatters_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
load_opts.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
load_opts_test.go add unittest for load_opts.go 2022-04-04 17:20:54 +08:00
mocks_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
run.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
snapshot_test.go remove ioutil usage in all project 2022-04-03 15:53:19 +08:00
two_pass_renderer.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
two_pass_renderer_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
validate_config.go Make --color and --no-color exclusive 2022-04-13 23:43:41 +00:00
validate_config_test.go add unittest for ValidateConfig 2022-04-27 07:38:22 +08:00