Support Docker credential helpers for CLI registry access
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 56/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, go
- 領域
- authentication, cli
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 60
- フォーク
- 2
- 平均マージ
- 6時間 41分
- マージ済み PR(30日)
- 67
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/brewlet のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
Fix filesystem live E2E Pod arguments for Python launch composition対応中かも @brunoborges が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 24/100
メンテナーはふだん 1 日以内に返信
microsoft/brewlet の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stefanpejcic/OpenPanel#1415 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
redhat-developer/mapt#997 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
status:needs-review type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Gentleman-Programming/engram#2512 ·
メンテナーはふだん 1 日以内に返信