chartmuseum / helm-push

Helm plugin to push chart package to ChartMuseum
Apache License 2.0
672 stars 170 forks source link

Install plugin from release tar.gz #75

Open richardlt opened 4 years ago

richardlt commented 4 years ago

Hi, I was trying to install the plugin from the released archive to avoid a direct dependency with Github in my script. But the plugin.yaml files that is given in this archive also refers some hook scripts that are not in the tar. I think this hooks are only needed when we install the plugin directly from the repo. Maybe it can be a good idea to remove the hooks declaration from the plugin.yaml file before creating the tar, what do you think ?

wushuzh commented 3 years ago

I want to do the plugin installation offline.

I download the tgz and uncompress to local folder, here is the error msg.

$ helm plugin install helm-push-plugin
sh: scripts/install_plugin.sh: not found
Error: plugin install hook for "push" exited with error

Or is it possible to provide a official docker image which already has the plugin installed so end-user can pull and use it directly ?

wushuzh commented 3 years ago

If there is a workaround for this currently ?