Support Docker credential helpers for CLI registry access
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker, go
- Ambito
- authentication, cli
Direzione di ricerca
Start by tracing the CLI paths for brewlet push and runtime-image resolution, then find where explicit registry credentials are selected and forwarded. Review the existing registry authentication tests and add isolated Docker configuration and test helpers for per-registry and default helpers, precedence, origin isolation, anonymous access, and helper failures. Done means CLI registry operations use the configured credentials while preserving existing authentication behavior and the documented trust boundaries.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Brewlet's CLI requires explicit registry credentials even when the user has already configured Docker credential helpers. For example, pushing an application to Google Artifact Registry returned a 403 until an access token was passed through BREWLET_REGISTRY_USERNAME and BREWLET_REGISTRY_PASSWORD, despite a configured gcloud Docker credential helper.
Proposed enhancement
Use Docker's credential configuration for local CLI registry operations, including brewlet push and runtime-image resolution. Honor DOCKER_CONFIG and the default Docker configuration location, including per-registry credHelpers and the default credsStore. Consider Docker's inline auths entries as well.
- Give explicit Brewlet credentials precedence for the applicable registry; preserve existing validation and conflict errors for
--registry-authand environment credentials. - Resolve credentials separately for each registry and preserve Brewlet's origin-bound credential forwarding. Do not send one registry's credentials to another.
- Keep this limited to local CLI access; do not extend Docker configuration or helper execution to the dashboard, kubelet, or node provisioner. Those have separate trust and authentication paths.
- Allow anonymous access when no credentials are configured, and surface configured helper failures rather than silently ignoring them.
- Document configuration, precedence, and the fact that credential helpers execute binaries found on
PATH.
Acceptance criteria
- A configured registry credential helper can authenticate a CLI push without manually exporting an access token.
- Tests cover per-registry and default helpers, explicit credential precedence, origin isolation, anonymous access, and helper failures using isolated Docker configuration and test helpers.
- Existing explicitly configured registry authentication continues to work.
- Lingua principale
- Go
- Stelle
- 60
- Fork
- 2
- Merge medio
- 6h 41m
- PR unite (30g)
- 67
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/brewlet
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
I maintainer di solito rispondono entro 1 giorno
-
Fix filesystem live E2E Pod arguments for Python launch compositionForse già presa @brunoborges l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 24/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/brewlet
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
stefanpejcic/OpenPanel#1415 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
redhat-developer/mapt#997 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
status:needs-review type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Gentleman-Programming/engram#2512 ·
I maintainer di solito rispondono entro 1 giorno