This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Feat: Login to a private image registry #64
Labels
enhancement
New feature or request
Comments
dweomer
added a commit
to dweomer/kim
that referenced
this issue
Sep 1, 2021
Introduce `kim builder login` that works very much like `docker login` but instead stores the resulting Docker `config.json` in a kubernetes secret in the builder namespace. This secret is rendered to disk in a temp directory for `build` operations (to satisfy buildkit) but is leveraged as an in-memory keyring for shipping auth credentials for `push` / `pull` operations. If the secret setup by the `login` cli operation does not exist, kim reverts to the existing behavior of consulting the `${DOCKER_CONFIG}/config.json` for registry credentials. Addresses rancher#64 Signed-off-by: Jacob Blain Christen <[email protected]>
dweomer
added a commit
to dweomer/kim
that referenced
this issue
Sep 1, 2021
Introduce `kim builder login` that works very much like `docker login` but instead stores the resulting Docker `config.json` in a kubernetes secret in the builder namespace. This secret is rendered to disk in a temp directory for `build` operations (to satisfy buildkit) but is leveraged as an in-memory keyring for shipping auth credentials for `push` / `pull` operations. If the secret setup by the `login` cli operation does not exist, kim reverts to the existing behavior of consulting the `${DOCKER_CONFIG}/config.json` for registry credentials. Addresses rancher#64 Signed-off-by: Jacob Blain Christen <[email protected]>
dweomer
added a commit
that referenced
this issue
Sep 1, 2021
Introduce `kim builder login` that works very much like `docker login` but instead stores the resulting Docker `config.json` in a kubernetes secret in the builder namespace. This secret is rendered to disk in a temp directory for `build` operations (to satisfy buildkit) but is leveraged as an in-memory keyring for shipping auth credentials for `push` / `pull` operations. If the secret setup by the `login` cli operation does not exist, kim reverts to the existing behavior of consulting the `${DOCKER_CONFIG}/config.json` for registry credentials. Addresses #64 Signed-off-by: Jacob Blain Christen <[email protected]>
|
Found this ticket looking for a way to If anyone else stumbles upon this (before
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: