You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
helm plugin install cannot symlink on Windows #4418
Due to how os.Symlink is implemented, currently we cannot create symbolic links on Windows unless we are running helm in a terminal as an administrator.
If we are running under normal privileges, we see this error:
helm plugin install https://github.com/adamreese/helm-last
Error: symlink C:\Users\mafishe\.helm\cache\plugins\https-github.com-adamreese-helm-last C:\Users\mafishe\.helm\plugins\helm-last: A required privilege is not held by the client.
$ ./helm.exe version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
$ go version
go version go1.11.1 windows/amd64
$ ./helm plugin install https://github.com/adamreese/helm-last
Error: symlink C:\Users\Steve\.helm\cache\plugins\https-github.com-adamreese-helm-last C:\Users\Steve\.helm\plugins\helm-last: A required privilege is not held by the client.
helm plugin install https://github.com/lrills/helm-unittest
Error: symlink C:\<REDACTED USER PATH>\.helm\cache\plugins\https-github.com-lrills-helm-unittest C:\<REDACTED USER PATH>\.helm\plugins\helm-unittest: A required privilege is not held by the client.
@bacongobbler - I'm not sure that #4637 actually fixed this - can you show an example test?
Activity
bacongobbler commentedon Aug 1, 2018
I'll take this on as an action item to fix up in 2.11.
thomastaylor312 commentedon Aug 24, 2018
We are going to have to push this out because the Go 1.11 release was pushed out. We will add this in a bugfix release
agentgonzo commentedon Oct 24, 2018
This doesn't work with Go 1.11 and helm 2.11:
bacongobbler commentedon Oct 24, 2018
Yep, haven't gotten to it yet. :)
bacongobbler commentedon Nov 10, 2018
fixed in #4637
ajpaulson commentedon Jan 9, 2019
@bacongobbler - I'm not sure that #4637 actually fixed this - can you show an example test?
bacongobbler commentedon Jan 10, 2019
I based my assumption on this note in the Go 1.11 release notes:
Do you have Developer Mode enabled?
ajpaulson commentedon Jan 16, 2019
@bacongobbler ah! yes, company restriction prevents me enabling developer mode - I should have read closer.