helmfile/pkg
Yusuke Kuoka 9b64d65d94
feat: Stabilize helmfile-diff output (#1622)
This finishes the work started at #1619 by introducing the following changes:

- You can now set `HELMFILE_TEMPDIR` and `CHARTIFY_TEMPDIR` as the directory to persist temporary values files rendered by helmfile and temporary charts generated by chartify. Note that chartify is used internally when you use kustomize integration or raw K8s manifests as a chart.
- Helmfile uses the hash sum of the release config and the values file content in the file name of the temporary values file.

  In combination with `HELMFILE_TEMPDIR` and `CHARTIFY_TEMPDIR`, this enables helmfile to use the stable file names for temporary values files, which contribute to stabilize log messages like `Comparing release=appset, chart=PATH/TO/TEMPORARY/CHART`, where the `PATH/TO/TEMPORARY/CHART` had been randomized due to formerly random helmfile tempdir and temporary values file names, and random chartify tempdir.

You can try this feature with a script like:

```
tempdir=$(mktemp -d -t helmfile)

HELMFILE_TEMPDIR=${tempdir} CHARTIFY_TEMPDIR=${tempdir} helmfile diff

rm -rf ${tempdir}
```
2020-12-15 10:24:27 +09:00
..
app Improve handling of releases being newly installed by helmfile-apply (#1618) 2020-12-11 09:09:35 +09:00
argparser Bump sprig to v3.1.0 and mergo 3.11 (#1456) 2020-09-04 09:58:54 +09:00
environment Fix: populate .Values regardless of prestate success (#1202) 2020-04-17 09:18:01 +09:00
event Fix panic on hook since v0.126.0 (#1448) 2020-09-01 10:37:21 +09:00
exectest Support for azure acr helm repositories (#1526) 2020-10-15 08:45:45 +09:00
helmexec Stabilize helmfile-diff output (#1619) 2020-12-11 09:51:26 +09:00
maputil
plugins feat(template): added secret template function (#1221) 2020-04-25 21:10:02 +09:00
remote Fix the logic of helmfile deps and add tests. (#1588) 2020-11-19 09:29:59 +09:00
state feat: Stabilize helmfile-diff output (#1622) 2020-12-15 10:24:27 +09:00
testhelper Fix the logic of helmfile deps and add tests. (#1588) 2020-11-19 09:29:59 +09:00
tmpl Use ghodss/yaml for yaml marshaling & unmarshaling in template (#1556) 2020-12-13 11:03:20 +09:00