chartmuseum/helm-push

Installation fails on windows 10

myeashion opened this issue · 9 comments

We have to run helm on windows 10. After install helm client using helm-v2.12.0-windows-amd64.zip,
I use helm plugin install command to install helm-push but failed.
The error as follows:
C:\WINDOWS\system32>helm plugin install https://github.com/chartmuseum/helm-push
Error: exec: "sh": executable file not found in %PATH%

It seem that helm-push plugin does not support windows.
Wish you response, thanks.

Hello @myeashion did you manage to solve or walkaround this problem (I got same error in Windows 7)

Try running the command in 'git bash'

Try running the command in 'git bash'

Marked it as solution please! Thanks.

Hello @myeashion did you manage to solve or walkaround this problem (I got same error in Windows 10)

Hello, I'm facing the same problem, any help, please. I did execute it in git bash but got the same error

'git bash' can solve.

While installing it using git-bash works, would it be possible to look into a solution that could run in pwsh possibly as well for Windows?

I am getting this error after installing in git bash.

$ helm plugin install https://github.com/chartmuseum/helm-push
sh: line 0: cd: too many arguments
sh: scripts/install_plugin.sh: No such file or directory
Error: plugin install hook for "cm-push" exited with error

I am getting this error after installing in git bash.

$ helm plugin install https://github.com/chartmuseum/helm-push sh: line 0: cd: too many arguments sh: scripts/install_plugin.sh: No such file or directory Error: plugin install hook for "cm-push" exited with error

I just wanna share my solution if anyone encounter the same issue.

It said that sh: line 0: cd: too many arguments, very likely due to my User profile name is "Dita Larasati" (there is space in between).

I solved it by adjusting the command value in plugin.yaml inside helm-push folder, simply just use absolute directory and use the alias /DitaLa~1/ instead of /Dita Larasati/.