Skip to content
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

Provide offline installation bundle #80

Open
stephan2012 opened this issue Sep 2, 2019 · 2 comments
Open

Provide offline installation bundle #80

stephan2012 opened this issue Sep 2, 2019 · 2 comments

Comments

@stephan2012
Copy link

While the Helm S3 plugin is very helpful it seems to be available for online installation only (i.e., requires an Internet connection). We are going to use Helm on Internet connected systems as well as offline (air-gap) systems with private, non AWS-provided S3 buckets. For this reason it would be helpful to have an offline installation package for every release. This would also help in pinning a tested version.

@stephan2012 stephan2012 changed the title Allow offline installation Provide offline installation bundle Sep 2, 2019
@hypnoglow
Copy link
Owner

I believe the offline installation is "doable" if you follow the Development guide: clone the repo, install dependencies, build the binary and execute the installation command from the guide.

But I agree that we could provide a more convenient way for this case, bundling the binary and all required plugin files (which I think already present in "releases" section of this repo) and documenting how to install it without a public internet connection.

@horacimacias
Copy link

I'm not sure how releases are being produced and uploaded to github but here's what I did manually and I think can be used.

  1. Download the release tgz
  2. Unarchive on some directory
  3. Edit plugin.yaml and remove the "hooks" section. The local directory now has the edited plugin.yaml and the bin/helms3 that came with the tgz
  4. Run helm plugin install . This seems to do it for me

An option is to produce "-offline" release tgz files with the modified plugin.yaml file, so people can download that and install the plugin offline. They will need to unarchive the tgz but I think that is not an issue for somebody configuring an offline install anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants