helmfile/pkg/state
Vladimir Kuznichenkov 6c1b6f855a
Add file existence check for remove values
If remote file isn't present in repo we will add it anyway to the files list and check `if len(files) == 0 {` never will be true. That leads to missing section with `MissingFileHandler`.

That fix check that cloned file actually exists. In that case if we add a link to non-existing remote file `MissingFileHandler` will be called as expected.

Signed-off-by: Vladimir Kuznichenkov <kuzaxak.tech@gmail.com>
2022-08-12 10:01:56 +03:00
..
testdata Add regression tests for environment values merge (#1170) 2020-04-04 14:27:29 +09:00
chart_dependency.go add Go lint 2022-07-16 20:21:11 +08:00
create.go add Go lint 2022-07-16 20:21:11 +08:00
create_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
environment.go Add support for kubeContext in environments (#1675) 2021-03-23 18:06:53 +09:00
envvals_loader.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
envvals_loader_test.go Adds feature to fetch release values and secret values from remote (#47) 2022-06-05 15:08:38 +09:00
helmx.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
release.go add Go lint 2022-07-16 20:21:11 +08:00
release_error.go Fix misleading `helmfile diff` output (#1174) 2020-04-04 17:39:20 +09:00
release_filters.go Allow more characters in label selectors (#2064) 2022-03-09 20:38:29 +09:00
selector_test.go Allow more characters in label selectors (#2064) 2022-03-09 20:38:29 +09:00
state.go feat: fix needs error with context that includes slash 2022-08-04 11:18:57 -04:00
state_exec_tmpl.go add Go lint 2022-07-16 20:21:11 +08:00
state_exec_tmpl_test.go add Go lint 2022-07-16 20:21:11 +08:00
state_gogetter_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
state_run.go add Go lint 2022-07-16 20:21:11 +08:00
state_test.go add Go lint 2022-07-16 20:21:11 +08:00
storage.go Add file existence check for remove values 2022-08-12 10:01:56 +03:00
storage_test.go Add file existence check for remove values 2022-08-12 10:01:56 +03:00
temp.go add Go lint 2022-07-16 20:21:11 +08:00
temp_test.go add Go lint 2022-07-16 20:21:11 +08:00
types.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
util.go add Go lint 2022-07-16 20:21:11 +08:00
util_test.go Add support for ChartCenter (#1492) 2020-09-21 15:31:24 +09:00