helmfile/pkg/app
KUOKA Yusuke b85243a6b4
Fix various issues in chart preparation (#1400)
In #1172, we accidentally changed the meaning of prepare hook that is intended to be called BEFORE the pathExists check. It broke the scenario where one used a prepare hook for generating the local chart dynamically. This fixes Helmfile not to fetch local chart generated by prepare hook.

In addition to that, this patch results in the following fixes:

- Fix an issue that `helmfile template` without `--skip-deps` fails while trying to run `helm dep build` on `helm fetch`ed chart, when the remote chart has outdated dependencies in the Chart.lock file. It should be up to the chart maintainer to update Chart.lock and the user should not be blocked due to that. So, after this patch `helm dep build` is run only on the local chart, not on fetched remote chart.
- Skip fetching chart on `helmfile template` when using Helm v3. `helm template` in helm v3 does support rendering remote charts so we do not need to fetch beforehand.

Fixes #1328
May relate to #1341
2020-08-06 09:06:25 +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 Fix various issues in chart preparation (#1400) 2020-08-06 09:06:25 +09:00
app_test.go Fix false-positive duplicate release with kubeContext (#1390) 2020-08-01 12:12:54 +09:00
ask.go feat: helmfile as a go library (#639) 2019-06-04 09:12:00 +09:00
config.go feat: `helmfile template --output-dir-template` for customizing output dirs (#1357) 2020-07-16 09:02:26 +09:00
constants.go feat: "bases" for easier layerina 2019-05-13 21:48:00 +09:00
constants_test.go Bump golang to v1.14.2 (#1132) 2020-04-21 09:06:29 +09:00
context.go Fix and enhancement to repository update (#1383) 2020-07-28 10:17:43 +09:00
desired_state_file_loader.go Do cleanup decrypted env secrets files (#1304) 2020-06-16 08:59:48 +09:00
destroy_test.go feat: GA of Kustomize and K8s manifests support (#1172) 2020-05-27 11:42:43 +09:00
diff_test.go typo: Fix message for detected diff (#1284) 2020-06-06 09:31:25 +09:00
errors.go feat: Opt-out dep-builds and repo-updates (#463) 2019-02-04 12:07:25 +09:00
formatters.go New output flag for list command (#1215) 2020-04-18 21:11:12 +09:00
load_opts.go Fix and enhancement to repository update (#1383) 2020-07-28 10:17:43 +09:00
mocks_test.go Use namespace for release unicity with helm3 (#1213) (#1235) 2020-05-02 09:35:51 +09:00
run.go Fix various issues in chart preparation (#1400) 2020-08-06 09:06:25 +09:00
two_pass_renderer.go Fix: populate .Values regardless of prestate success (#1202) 2020-04-17 09:18:01 +09:00
two_pass_renderer_test.go Add the ability to load a remote environment values file (#1296) 2020-06-11 10:04:01 +09:00