-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start sidecar when using secrets components with dapr run -f #1411
Comments
When using Moving the secret file to the same directory as the service is a workaround. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
Bot comment |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
Bot comment |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
Bot comment |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
Expected Behavior
When running the a daprized app using the dapr cli, it should be able to read secrets defined in a configuration
Actual Behavior
The dapr sidecar is never started.
Steps to Reproduce the Problem
See a small repro here - https://github.com/bondz/dapr-secrets
Clone the repo.
cd my-service npm install
There's a single secret defined in the
.dapr/secrets.json
file that the app (my-service) reads.When running the app directly using dapr multi-app run in the root directory, the sidecar is never started.
dapr run -f .
It hangs for a while, eventually errors and exits.
However, if you use vscode and run the app using the launch configuration, passing the config flags directly, it works fine.
The text was updated successfully, but these errors were encountered: