Skip to content

[AKS] Trusted Access Role Binding CLI - #4955

Merged
Xing Zhou (zhoxing-ms) merged 3 commits into
Azure:mainfrom
YitongFeng-git:yife/binding
Jun 14, 2022
Merged

Xing Zhou (zhoxing-ms) merged 3 commits into
Azure:mainfrom
YitongFeng-git:yife/binding

Conversation

@YitongFeng-git

@YitongFeng-git Yitong Feng (YitongFeng-git) commented Jun 8, 2022 •

Copy link
Copy Markdown
Contributor

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run 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

@ghost ghost added this to the Jun 2022 (2022-07-05) milestone Jun 8, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Jun 8, 2022
@ghost
ghost requested a review from Yong Zhang (yonzhan) June 8, 2022 03:49
@ghost ghost added the AKS label Jun 8, 2022
@yonzhan

Copy link
Copy Markdown
Collaborator

AKS

@YitongFeng-git
Yitong Feng (YitongFeng-git) force-pushed the yife/binding branch 7 times, most recently from b920784 to e1ee74e Compare June 9, 2022 02:25
Comment thread src/aks-preview/HISTORY.rst Outdated
Comment thread src/aks-preview/azext_aks_preview/_params.py Outdated

@FumingZhang FumingZhang left a comment

Copy link
Copy Markdown
Member

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?

@YitongFeng-git
Yitong Feng (YitongFeng-git) force-pushed the yife/binding branch 4 times, most recently from 1f0ad60 to ea52c98 Compare June 9, 2022 05:47
Comment thread src/aks-preview/azext_aks_preview/commands.py Outdated
@YitongFeng-git
Yitong Feng (YitongFeng-git) force-pushed the yife/binding branch 2 times, most recently from 14f8797 to 62c278c Compare June 9, 2022 07:28

@FumingZhang FumingZhang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread src/aks-preview/azext_aks_preview/commands.py Outdated
@zhoxing-ms

Copy link
Copy Markdown
Contributor

Could you add some tests for those new commands?

Comment thread src/aks-preview/azext_aks_preview/commands.py Outdated
Comment thread src/aks-preview/azext_aks_preview/commands.py Outdated
@FumingZhang

Copy link
Copy Markdown
Member

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.

@YitongFeng-git
Yitong Feng (YitongFeng-git) force-pushed the yife/binding branch 3 times, most recently from 05aa9f8 to 1c8b55f Compare June 13, 2022 05:17
@karataliu

Copy link
Copy Markdown
Contributor

ZelinWang (@wangzelin007) Xing Zhou (@zhoxing-ms) could you help a merge?

@zhoxing-ms Xing Zhou (zhoxing-ms) left a comment

Copy link
Copy Markdown
Contributor

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

@zhoxing-ms
Xing Zhou (zhoxing-ms) merged commit dd950ef into Azure:main Jun 14, 2022
@YitongFeng-git
Yitong Feng (YitongFeng-git) deleted the yife/binding branch June 14, 2022 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants