Support Docker credential helpers for CLI registry access
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 56/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- docker, go
- Área
- authentication, cli
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 60
- Forks
- 2
- Merge medio
- 6 h 41 min
- PR fusionados (30 d)
- 67
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/brewlet
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
Fix filesystem live E2E Pod arguments for Python launch compositionPosiblemente ocupada @brunoborges la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 24/100
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/brewlet
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
stefanpejcic/OpenPanel#1415 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
redhat-developer/mapt#997 ·
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
status:needs-review type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Gentleman-Programming/engram#2512 ·
Los mantenedores suelen responder en 1 día