rancher / kim

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

pull: leverage local credentials #18

Closed dweomer closed 3 years ago

dweomer commented 3 years ago

Pull will now leverage local credentials exclusively when fetching images.

Additionally, there is an option to specify that pull should use the CRI backend instead of containerd. This is passed through on the criv1.ImageSpec via annotations.

Platform can be specified when pulling and is passed into the containerd-pull backend via criv1.ImageSpec annotation.

Fixes #2

Signed-off-by: Jacob Blain Christen jacob@rancher.com

dweomer commented 3 years ago

So, @cjellick and @ibuildthecloud: it turns out that I was neglecting to pass through the client-supplied auth to the CRI backend when pulling. Works just fine!