-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote helmfiles via http (go-getter) #1842
Comments
@mseiwald Hey! Every helmfile, even the parent, requiers one or more releases to be processed. Otherwise it fails like it. If you do want to opt-out that check, add Also, I thought I have never tried using go-getter URLs other than |
@mumoshu I'm getting the same error message with |
@mseiwald Seems like this doesn't work due to the nature of helmfile's go-getter support. It is supposed to grab the remote directory and then point a specific helmfile.yaml to be processed. So helmfile has to download the directory If you're interested in retrieving the helmfile.yaml hosted in github, can you use |
@mumoshu We are using Any chance of adding support for either single file retrieval (without directory support) or fetching "directories" as .tar.gz or something similar? That would help us enormously. |
@mseiwald Adding support for fetching remote Would you mind submitting a PR for that? I don't have my own use-case for that feature so I won't just spend my spare time developing it myself soon. But I'll gladly review a PR and merge it if you could help. |
I'll give it a try. Thanks for your help! |
@mseiwald Thanks! At quick glance go-getter seems to have support for tgz https://github.com/hashicorp/go-getter#unarchiving We have a special syntax based on go-getter URL that is implemented in https://github.com/roboll/helmfile/blob/master/pkg/remote/remote.go#L118. I haven't tried it yet but there may be a change that you need to tweak that code to make helmfile accepts URLs like |
In case someone else lands here and like me want to download a file from S3, the following code worked for me out of the box: # helmfile.example.yaml
helmfiles:
- path: s3::https://s3-eu-central-1.amazonaws.com/my-bucket/my-folder/my-chart-0.1.0.tgz@helmfile.yaml.gotmpl
values:
- foo: bar
|
@mumoshu Is there any chance this is supported for |
Hi,
using this minimal helmfile.yaml...
... when running
helmfile deps
I get this error:Is fetching via HTTP not supported?
Kind regards,
Michael
The text was updated successfully, but these errors were encountered: