Hi!
Maybe I'm doing something wrong, but this scenario not workinkg for me:
$ tree -L 2
.
├── app.yaml
├── charts
│ └── test
├── helmfile.yaml
└── values
├── app.gotmpl
└── versions.yaml
3 directories, 4 files
helmfile.yaml:
environments:
default:
values:
- values/versions.yaml
helmfiles:
- app.yaml
app.yaml:
releases:
- name: test
chart: charts/test
values:
- values/app.gotmpl
values/app.gotmpl:
image:
tag: "{{ .Environment.Values.version.app }}"
values/versions.yaml:
charts/test - just result of helm create test
The problem: helmfile template:
in ./helmfile.yaml: in .helmfiles[0]: in ./app.yaml: failed to render values files "values/app.gotmpl": failed to render [values/app.gotmpl], because of template: stringTemplate:2:22: executing "stringTemplate" at <.Environment.Values.version.app>: map has no entry for key "version"
What I'm doing wrong?
Hi!
Maybe I'm doing something wrong, but this scenario not workinkg for me:
helmfile.yaml:app.yaml:values/app.gotmpl:values/versions.yaml:charts/test- just result ofhelm create testThe problem:
helmfile template:What I'm doing wrong?