roboll / helmfile

Deploy Kubernetes Helm Charts
MIT License
4.05k stars 566 forks source link

Needs flag issue if we have releases in different file #1075

Open jvaibhav123 opened 4 years ago

jvaibhav123 commented 4 years ago

Hi,

I have mutilple files where individual component are configured in seperate file. e.g cert manager has one file and kiam is defined in another file.

As i need to define needs flag in kiam which is dependent on cert manager so i specified in cert manager file

cert-manager.yaml

releases: name: cert-manager

kiam.yaml name: kiam needs:

This seems to be not working. Just wanted to check if both cert manager and kiam needs to in same file for needs to work? Is it possible in some way where we can use different file or individual file and use needs flag.

Regards, Vaibhav

mumoshu commented 4 years ago

Hey! needs requires the two releases to be in the same file. For dependencies between two helmfiles, use helmfiles:.

dbluxo commented 3 years ago

Hey @mumoshu, how can dependencies between helmfiles be handled with helmfiles:?

dbluxo commented 3 years ago

Oh well, probably just about the order of the files, right?