Skip to content
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

Adding 'dapr.io/sidecar-listen-addresses' annotation to middleware quickstart #479

Merged
merged 3 commits into from
Oct 6, 2021

Conversation

TenSt
Copy link
Contributor

@TenSt TenSt commented Sep 28, 2021

Description

This PR is based on the issue I've raised in dapr repo to prevent users from encountering it. If a user will follow the middleware quickstart as it is right now - the issue will come up.

Added dapr.io/sidecar-listen-addresses annotation to echoapp deployment
Added note to readme to warn users about using this annotation in a Production environment.

Issue reference

This PR is based on the issue I've raised in dapr repo: dapr/dapr#3717
Please let me know if I need to create a separate issue in this repo and reference it.

Checklist

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

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary

@ghost
Copy link

ghost commented Sep 28, 2021

CLA assistant check
All CLA requirements met.

@@ -78,6 +78,8 @@ kubectl apply -f deploy/pipeline.yaml

Next, you'll deploy the application and define an ingress rule that routes to the ```-dapr``` service that gets automatically created when you deploy your pod. In this case, all traffic is routed to the Dapr sidecar, which can reinforce various policies through middleware.

>**Note:** 'dapr.io/sidecar-listen-addresses' annotation is added to echoapp deployment to allow external connections. Be cautious of using it in a Production environment.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change "Production" to be lower case "production"

At the end of this new sentence can you add "To read more on this annotation see Dapr arguments and annotations for daprd, CLI, and Kubernetes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@msfussell msfussell merged commit 391299a into dapr:master Oct 6, 2021
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.

None yet

3 participants