Open abdennour opened 5 years ago
@abdennour There's no such command today but it sounds like a great idea! I'd happily review it if you could submit the pr 👍
Maybe it would look like helmfile import --tiller-namespace myns
for importing all the releases installed in the myns
tiller namespace?
You'd need the following things to be baked into the resulting helmfile.yaml:
repositories
name
name of the repository. can be anything as long as it matches the $repo
part of your chart
under releases
url
the url of the repo. see helm repo list
releases:
name
: release namechart
: chart name with $repo/$name
format, like stable/mysql
values
array of relative paths to values.yaml files. maybe you can just place $release.values.yaml
where it is generated by helm get values $release > $release.values.yaml
tillerNamespace
e.g. myns
for the example command above.What about Helm 3 ? there is no tiller
I have a long list of installed charts. I don't want to define them in helmfile manually ( run
helm get values
then fill in helmfile ).Instead, I want to run a
helmfile
command that reads from the installed charts and fill-in the helmfile.yaml accordingly.Is there a similar command or should I open a pull-request ?