https://github.com/bitsofinfo/helmfile-737
https://github.com/roboll/helmfile/issues/737
https://github.com/bitsofinfo/helmfile-737
Last synced: 4 months ago
JSON representation
https://github.com/roboll/helmfile/issues/737
- Host: GitHub
- URL: https://github.com/bitsofinfo/helmfile-737
- Owner: bitsofinfo
- Created: 2019-07-02T12:55:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T17:24:01.000Z (over 6 years ago)
- Last Synced: 2025-10-09T01:14:34.471Z (4 months ago)
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# helmfile-737
https://github.com/roboll/helmfile/issues/737
IMPORTANT!: This uses `mergeOverwrite`. You must use a build of `helmfile` that incorporates this PR: https://github.com/roboll/helmfile/pull/735
Its also possible by just using `merge` as well (experienced this prior to 735 as well)
## Fails #1:
Fails w/ panic (you may have to run more than once as it fails about 90% of runs w/ panic).
```
./helmfile --log-level debug -f helmfile.fail.yaml -e test4 apply
```
## Fails #2:
Same as above (you may have to run more than once as it fails about 90% of runs w/ panic).
```
./helmfile --log-level debug -f helmfile.fail2.yaml -e test4 apply
```
This block, which has nothing to do w/ any other variables... very weird
(you may have to run more than once as it fails about 90% of runs w/ panic).
```
...
values:
{{ range $f := list "values/test1/values.yaml" "values/test2/values.yaml" "values/test3/values.yaml" }}
- {{$f}}
{{ end }}
```
## Fails #3:
Same as above, even removes all references to `merge` and or `mergeOverwrite`
```
./helmfile --log-level debug -f helmfile.fail3.yaml -e test4 apply
```
## Works (example 1):
```
./helmfile --log-level debug -f helmfile.works.yaml -e test4 apply
```
When this block is removed the panic stops:
```
{{ range $valueBase := $chartConfigs.appdeploy.chartValues.baseValues }}
- {{$chartConfigs.appdeploy.chartValues.baseValuesRootDir}}/values/{{$valueBase}}/values.yaml
{{ end }}
```
## This also works (template, but not apply)
```
./helmfile --log-level debug -f helmfile.fail.yaml -e test4 template
```