helm-secrets
helm-secrets copied to clipboard
Allow installation on Microsoft OS
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?
Windows is not my domain right now, but if someone can help any #PR's are welcome.
It might be helm related https://github.com/helm/helm/issues/4418
You need to run the shell with admin right because creating symlink requires admin privilege.
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.
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.