Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

dapr init: option to run Sentry in self-hosted mode

オープン
#1,648 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, go

調査の方向性

dapr init の self-hosted パスから始め、dapr run、dapr status、dapr uninstall がサービス、証明書、構成をどのように扱うかを追跡します。Docker またはネイティブの Sentry オプションをどのように組み込むかを決める前に、既存の cert flags と $HOME/.dapr/certs/ の動作を比較します。提案する init フローが証明書をプロビジョニングし、Sentry を起動し、手動の環境変数なしで mTLS を有効にし、そのステータスを報告し、アンインストール時にクリーンアップを行い、記載されたドキュメント更新を含んでいれば完了です。

索引モデルが issue の本文から書いたものです。

説明

good first issue kind/proposal

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:

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:

  1. Generate (or accept user-supplied) root/issuer certs into the standard
    $HOME/.dapr/certs/ location.
  2. Start the Sentry service alongside the other Dapr self-hosted services
    (Docker container or native binary, matching the rest of dapr init's
    model).
  3. Write a default Dapr configuration with spec.mtls.enabled: true so
    dapr run picks it up without extra flags.
  4. Wire the trust-anchor / cert-chain / cert-key env vars so existing
    sidecar launches work out of the box.
  5. Surface a clear status line ("Sentry running, mTLS enabled, trust domain
    cluster.local") in dapr status / dapr init output.

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 run against that environment gets a valid SPIFFE SVID without
    additional env-var plumbing from the user.
  • dapr uninstall cleans 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 -k already installs Sentry).
主要言語
Go
スター
353
フォーク
221
平均マージ
6日 16時間
マージ済み PR(30日)
1

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dapr/cli のほかの issue

dapr/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。