rancher / kim

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

Feat: Login to a private image registry #64

Open mattfarina opened 3 years ago

mattfarina commented 3 years ago

Right now KIM works off docker credentials. But, what if you don't have Docker installed? Can we please have a method to login and logout so there's no need to have Docker installed.

dweomer commented 3 years ago

kim builder login as implemented by #71 should address the primary need. Caveats:

fernferret commented 2 years ago

Found this ticket looking for a way to kim builder logout since I just yammered in junk creds and now docker.io won't let me pull anything due to a 401 (ha).

If anyone else stumbles upon this (before kim builder logout is implemented), the PR above notes that the creds are stored in a secret (duh, I was fumbling around in the kim/buildkit containers) and I was able to perform the logout with:

$ kubectl delete secret -n kube-image kim-docker-config