dapr init: option to run Sentry in self-hosted mode
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- docker, go
- 領域
- authentication, cli, security
調査の方向性
dapr init の self-hosted パスから始め、dapr run、dapr status、dapr uninstall がサービス、証明書、構成をどのように扱うかを追跡します。Docker またはネイティブの Sentry オプションをどのように組み込むかを決める前に、既存の cert flags と $HOME/.dapr/certs/ の動作を比較します。提案する init フローが証明書をプロビジョニングし、Sentry を起動し、手動の環境変数なしで mTLS を有効にし、そのステータスを報告し、アンインストール時にクリーンアップを行い、記載されたドキュメント更新を含んでいれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
In self-hosted mode, dapr init does not start the Sentry service. Users who
want mTLS and any feature that depends on it currently have to install or
build Sentry separately, generate or supply certs, set
DAPR_TRUST_ANCHORS / DAPR_CERT_CHAIN / DAPR_CERT_KEY env vars, and run
./sentry themselves before they can use the feature. See Setup & configure
mTLS certificates (self-hosted)
for the current manual steps.
This is friction for any feature that builds on the sidecar SPIFFE identity,
including:
- Workflow history signing (docs:
dapr/docs#5082) - Workflow access policies
- Service-invocation access control, secret-store scope checks, and anything
else gated on workload identity in self-hosted mode
Proposal
Add a first-class option to dapr init that brings up a local Sentry as
part of the standard self-hosted setup. Sketch:
dapr init --enable-mtls # opt-in flag
What it should do:
- Generate (or accept user-supplied) root/issuer certs into the standard
$HOME/.dapr/certs/location. - Start the Sentry service alongside the other Dapr self-hosted services
(Docker container or native binary, matching the rest ofdapr init's
model). - Write a default Dapr configuration with
spec.mtls.enabled: trueso
dapr runpicks it up without extra flags. - Wire the trust-anchor / cert-chain / cert-key env vars so existing
sidecar launches work out of the box. - Surface a clear status line ("Sentry running, mTLS enabled, trust domain
cluster.local") indapr status/dapr initoutput.
Acceptance criteria
-
dapr init --enable-mtls(or equivalent flag) provisions certs, starts
Sentry, and produces a working mTLS-enabled self-hosted environment in
one command. -
dapr runagainst that environment gets a valid SPIFFE SVID without
additional env-var plumbing from the user. -
dapr uninstallcleans up Sentry alongside the other services. - Docs updated: self-hosted mTLS setup, workflow history signing
prerequisites, workflow access policy prerequisites.
Out of scope
- Bring-your-own-CA flow (already supported via existing cert flags; this
issue is about the zero-config default). - Kubernetes (
dapr init -kalready installs Sentry).
- 主要言語
- Go
- スター
- 353
- フォーク
- 221
- 平均マージ
- 6日 16時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dapr/cli のほかの issue
-
CLI stopping winnat - killing docker-desktop vm対応中かも @mikeee が今日担当しました。 オープンkind/bug
メンテナーはふだん 6 日以内に返信
-
kind/bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
dapr/cli#1700 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 6 日以内に返信
-
good first issue kind/proposal
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
メンテナーはふだん 6 日以内に返信
-
Docs (Automation) - Dapr CLI再び着手できるかも @mikeee が 561 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンP1 pinned
dapr/cli#1507 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 6 日以内に返信
-
Update the CLI install script release source再び着手できるかも @mikeee が 735 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンkind/bug pinned
dapr/cli#1454 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 6 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NVIDIA/k8s-device-plugin#2076 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area/release kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kubernetes-sigs/kueue#16455 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信