Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
K
k3s
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jacklull
  • k3s
  • Repository

Switch branch/tag
  • k3s
  • pkg
  • credentialprovider
  • config.go
Find file
BlameHistoryPermalink
  • Claudiu Belu's avatar
    credentialprovider: Sets homeDirPath to os.UserHomeDir() · 16da70c2
    Claudiu Belu authored 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
    16da70c2
config.go 8.62 KB
EditWeb IDE

Replace config.go

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.