helmfile/pkg/state
KUOKA Yusuke 07c42474cc
Do not fail due to missing env in base helmfile (#1009)
When helmfile is run with `--environment NAME` and there was a base hemlfile that misses `environments`, helmfile had been trying to load env values for NAME and failing.

A base helmfile is allowed to reference values from within itself, but that's optional. In other words, a base helmfile that misses the env is okay as long as it doesn't self-reference env values.

So, this change allows missing env and env values while loading base helmfile. After loading, a base helmfile can fail due to referencing missing env values, but that's okay.

Fixes #1008
2019-12-01 11:37:56 +09:00
..
chart_dependency.go feat: Automatically enable Helm v3 mode 2019-11-14 10:50:18 -08:00
create.go Do not fail due to missing env in base helmfile (#1009) 2019-12-01 11:37:56 +09:00
create_test.go Do not fail due to missing env in base helmfile (#1009) 2019-12-01 11:37:56 +09:00
environment.go feat: Advanced Templating (#823) 2019-08-31 14:31:31 +09:00
envvals_loader.go feat: When values.yaml.gotmpl can't be parsed as YAML, print the YAML. (#703) 2019-06-19 08:47:36 +09:00
helmx.go feat: Adopt existing K8s resources as Helm release on install (#746) 2019-07-11 09:13:34 +09:00
release.go Allow combining valuesTemplate and values, same for setTemplate (#938) 2019-11-15 08:52:10 +09:00
release_error.go chore: tidy up pkgs (#636) 2019-06-01 13:36:05 +09:00
release_filters.go chore: tidy up pkgs (#636) 2019-06-01 13:36:05 +09:00
state.go Fix capitalization of cleanup-on-fail config key (#1005) 2019-11-29 09:29:26 +09:00
state_exec_tmpl.go fix: Fix `needs` to work for upgrades and when selectors are provided (#922) 2019-11-02 14:04:16 +09:00
state_exec_tmpl_test.go fix: Fix `needs` to work for upgrades and when selectors are provided (#922) 2019-11-02 14:04:16 +09:00
state_run.go Fix regression in the order of processed releases when concurrency is 1 (#992) 2019-11-21 22:29:05 +09:00
state_test.go Add the cleanup-on-fail flag to upgrade command (#969) 2019-11-29 08:47:19 +09:00
storage.go chore: tidy up pkgs (#636) 2019-06-01 13:36:05 +09:00
types.go feat: state values (#647) 2019-06-04 16:34:02 +09:00
util.go fix: absolute chart path (#753) 2019-07-12 22:37:54 +09:00
util_test.go fix: absolute chart path (#753) 2019-07-12 22:37:54 +09:00