Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

credentialprovider: Sets homeDirPath to os.UserHomeDir() #78528

Merged
Commits on May 25, 2019
  1. credentialprovider: Sets homeDirPath to os.UserHomeDir()

    bclau committed May 25, 2019
    Currently, the credential provider will look in the path set in
    the $HOME env variable, but that environment does not exist on
    Windows, but $HOMEPATH does. Because of this, if credentials are
    set in ~/.docker on Windows, they will not be used by kubelet
    when pulling images.
    
    The function os.UserHomeDir can solve this problem [1].
    
    [1] https://golang.org/pkg/os/#UserHomeDir
You can’t perform that action at this time.