rancher / kim

In ur kubernetes, buildin ur imagez
Apache License 2.0
326 stars 19 forks source link

pull: private repositories fail with local credentials #2

Closed dweomer closed 3 years ago

dweomer commented 3 years ago

Pull for private repositories with client-local credentials hits authorization failures whereas push works (due to my recent changes to leverage docker-credential helpers that may be present on the client system). This is because the server-side pull leverages the CRI implementation whereas server-side push interfaces with containerd directly.

So, implement server-side pull to replicate the CRI implementation but use the same credentials/auth resolver setup that is used for the current push impl.