helm-secrets icon indicating copy to clipboard operation
helm-secrets copied to clipboard

Allow installation on Microsoft OS

Open upskill-mrollins opened this issue 6 years ago • 5 comments

Running "helm plugin install https://github.com/futuresimple/helm-secrets" on a Microsoft Windows system results in the message: Error: symlink C:\Users\THIS.USER\.helm\cache\plugins\https-github.com-futuresimple-helm-secrets C:\Users\THIS.USER\.helm\plugins\helm-secrets: A required privilege is not held by the client.

Looking at the install.sh script, it appears to only check for Mac and Linux operating systems.

Can this be added, or will it never be possible?

upskill-mrollins avatar Jun 21 '18 20:06 upskill-mrollins

Windows is not my domain right now, but if someone can help any #PR's are welcome.

szibis avatar Jul 04 '18 06:07 szibis

It might be helm related https://github.com/helm/helm/issues/4418

jkroepke avatar Nov 04 '18 09:11 jkroepke

You need to run the shell with admin right because creating symlink requires admin privilege.

jkroepke avatar Nov 04 '18 09:11 jkroepke

True Windows support would also require porting the scripts (most of the plugin) to PowerShell or cmd. WSL is an option and the plugin works fine on the Ubuntu 18.04 image.

claytondus avatar Dec 30 '18 21:12 claytondus

Hello all,

I solved this installing helm secrets in a docker image, and creating an alias like this: alias helm=docker run -ti --rm -v %cd%:/apps -v ~/.kube:/root/.kube my-helm:latest $* It works very well.

jribmartins avatar Jan 22 '20 13:01 jribmartins