Closed blissd closed 8 months ago
I should add that for my use-case each helmfile.yaml
is self-contained.
Sounds like a good addition to helmfile! Would you mind submitting a PR for this?
I can give it a go. Now, I know this reveals I'm a total golang noob, but I can't get the project to build. Running make
or make build
spits out a bunch of compilation errors. Is there a helpful guide for getting setup for development?
@blissd Thanks a lot for trying 👍
Probably you need to clone the project under $GOPATH
. If the envvar GOPATH isn't set yet, as the default GOPATH is $HOME/go
, try:
$ git clone git@github.com:roboll/helmfile.git ~/go/src/github.com/roboll/helmfile
$ cd $_
$ make build
If it doesn't work yet, I'd suggest checking your golang version. 1.11.2
would work as we use it in our CI!
Using
helmfile -f
allows either a singlehelmfile.yaml
or a directory containing multiplehelmfile.yaml
s to be selected.Also, you can specify
-f
more than once withouthelmfile
complaining. However, it appears to only process the the firsthelmfile.yaml
that is passed.Please could you support specifying multiple
-f
arguments as a flexible alternative to providing a directory of helmfiles?My use case is having a directory structure like this:
I'd like to be able to run
helmfile -f deploy/helmfile.yaml -f deploy/localtesting/helmfile.yaml
. For me, this allowsdeploy/helmfile.yaml
to contain my application, and thendeploy/localtesting
to contain extra test charts (to install things like databases used during testing).