Skip to content

Automate Sentry mTLS Initialization and uninstall logic#1663

Open
ayushsarode wants to merge 2 commits into
dapr:masterfrom
ayushsarode:enhance-init-sentry
Open

Automate Sentry mTLS Initialization and uninstall logic#1663
ayushsarode wants to merge 2 commits into
dapr:masterfrom
ayushsarode:enhance-init-sentry

Conversation

@ayushsarode

Copy link
Copy Markdown

Description

This PR adds a --enable-mtls flag to dapr init for self-hosted mode.

Previously, setting up mTLS locally required manually starting Sentry and configuring certificates. This PR automates the entire process so that running dapr init --enable-mtls will:

Automatically generate the required certificates.
Start the dapr_sentry Docker container alongside other Dapr services.
Configure dapr run to use mTLS by default.
Ensure dapr uninstall properly cleans up the Sentry container.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1648

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: ayushsarode <ayushsarode777@gmail.com>
@ayushsarode ayushsarode requested review from a team as code owners June 23, 2026 15:50
Signed-off-by: ayushsarode <ayushsarode777@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant