helmfile/pkg/app/testdata/app_lint_test
SeWieland 8b3ad5b793
feat: make environment context available (#832)
* feat: make environment context available

This feature adds the "{{.Environment.KubeContext}}" variable.

Discussion #829

Signed-off-by: sewieland <sebastian.wieland@iav.de>

* chore: fix tests which compare logging outputs

This commit adds an addtional space wherever needed to the expected log outputs due to the added "KubeContext" in the environment struct.

Discussion #829

Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>

* docs: added documentation for `Environment.KubeContext`

Discussion #829

Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>

* test: make sure the `Environment.KubeContext` is mapped out correctly

Discussion #829

Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>

---------

Signed-off-by: sewieland <sebastian.wieland@iav.de>
Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>
Co-authored-by: sewieland <sebastian.wieland@iav.de>
2023-05-22 13:43:46 +09:00
..
bad_selector feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
fail_on_unselected_need_by_default feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_fail_on_disabled_direct_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_fail_on_disabled_transitive_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_should_not_fail_on_disabled_direct_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_should_not_fail_on_disabled_transitive_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_with_include-transitive-needs_fail_on_disabled_direct_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_with_include-transitive-needs_fail_on_disabled_transitive_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_with_include-transitive-needs_should_not_fail_on_disabled_direct_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-needs_with_include-transitive-needs_should_not_fail_on_disabled_transitive_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-transitive-needs feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
include-transitive-needs_should_not_fail_on_disabled_transitive_need feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00
skip-needs feat: make environment context available (#832) 2023-05-22 13:43:46 +09:00