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

Code sample grants incorrect role #5104

Closed
brantb opened this issue Feb 28, 2018 — with docs.microsoft.com · 4 comments
Closed

Code sample grants incorrect role #5104

brantb opened this issue Feb 28, 2018 — with docs.microsoft.com · 4 comments

Comments

Copy link

brantb commented Feb 28, 2018

Under "Grant AKS access to ACR", the following text appears (emphasis mine):

To do so, a role assignment needs to be created to grant the service principal read access to the ACR resource.

But the code snippet following includes:

az role assignment create --assignee $CLIENT_ID --role Contributor --scope $ACR_ID

--role Contributor should be --role Reader.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: ed59d472-ac33-5c03-dbb7-0e86e88c7dd8
  • Version Independent ID: 69e1ad8c-2dd3-cc1b-2b31-996a5d866cc0
  • Content
  • Content Source
  • Service: container-service
@amanarneja
Copy link
Contributor

@brantb - Thanks for the feedback. We are investigating and will get back to you on this ASAP.

@neilpeterson
Copy link
Contributor

This has been updated in this PR:

https://github.com/MicrosoftDocs/azure-docs-pr/pull/34230

@brantb if this looks good to you, I will close this issue.

Thanks

@brantb
Copy link
Author

brantb commented Mar 1, 2018

LGTM! 🥂

@neilpeterson
Copy link
Contributor

#please-close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants