-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[AKS] Trusted Access Role Binding CLI #4955
Conversation
AKS |
b920784
to
e1ee74e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the format change caused by LF -> CRLF?
1f0ad60
to
ea52c98
Compare
14f8797
to
62c278c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Could you add some tests for those new commands? |
The resource has not been deployed to prod regions so currently there's no way to test the commands. |
05aa9f8
to
1c8b55f
Compare
1c8b55f
to
d131117
Compare
@wangzelin007 @zhoxing-ms could you help a merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The resource has not been deployed to prod regions so currently there's no way to test the commands.
Please supplement relevant tests in the future PR
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.Test
Commands:
az aks trustedaccess rolebinding create -g yifetest --cluster-name yifeaks -n binding1 -s /subscriptions/8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8/resourceGroups/yifetest/providers/Microsoft.MachineLearningServices/workspaces/yifeAML --roles Microsoft.MachineLearningServices/workspaces/reader Microsoft.MachineLearningServices/workspaces/writer
az aks trustedaccess rolebinding list -g yifetest --cluster-name yifeaks
az aks trustedaccess rolebinding show -g yifetest --cluster-name yifeaks -n binding1
az aks trustedaccess rolebinding delete -g yifetest --cluster-name yifeaks -n binding1