We are trying to use helmfile in our pipeline. For this we hoped to use a parent helmfile (with repository configuration and helm-defaults) and subhelmfiles that INHERIT from this master helmfile.
Unfortunately this was not possible to achieve.
Are we missing out something?
@RafalMaleska What do you want to inherit?
One of the rules of helmfile is that each sub-helmfile should be usable independently. So let's assume that your sub-helmfile should be complete on its own i.e. should work without inheritance at all.
It does support inherting values expicitly from the parent to the sub-helmfiles by using this syntax:
helmfiles:
- path: path/to/subhelmfile.yaml
values:
- foo: {{whatever available in the parent}}
Does it help?
@mumoshu thank You very much.
We have established something similar with templating and including it in each subhelmfile. But Your solution is much much cleaner.
Thank You
@RafalMaleska Glad to help!
I'm now closing this as resolved. Please feel free to join your slack channel if you have any further questions!
Most helpful comment
@RafalMaleska What do you want to inherit?
One of the rules of helmfile is that each sub-helmfile should be usable independently. So let's assume that your sub-helmfile should be complete on its own i.e. should work without inheritance at all.
It does support inherting values expicitly from the parent to the sub-helmfiles by using this syntax:
Does it help?