-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[DO NOT MERGE] ACR: private link and CMK support #12348
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
Conversation
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.
Should we have a command called az acr private-link-resource to show all available private link resources? "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": {
| with self.command_group('acr token credential', acr_token_credential_generate_util) as g: | ||
| g.command('generate', 'acr_token_credential_generate') | ||
|
|
||
| with self.command_group('acr private-endpoint-connection', acr_private_endpoint_connection_util, |
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.
we're using command to reflect custom command. I'm fine 😄 @Juliehzl
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.
Hey @myronfanqiu, I am not sure what you meant here. Please can you review / comment on #12381
| WORKDIR azure-cli | ||
| COPY . /azure-cli | ||
|
|
||
| RUN pip install ./privates/azure_mgmt_containerregistry-3.0.0rc8-py2.py3-none-any.whl |
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.
well. Looks like it's just a private package.
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.
@adewaleo, make sure revert it before merge. We must publish the SDK package beforehand
| 'provider_operations_metadata': '2018-01-01-preview' | ||
| }), | ||
| ResourceType.MGMT_CONTAINERREGISTRY: '2019-06-01-preview', | ||
| ResourceType.MGMT_CONTAINERREGISTRY: SDKProfile('2019-12-01-preview', { |
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.
well. I cannot find such api-version in https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry.
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 SDK publishing is pending.
I have marked this PR as "Do not merge" to prevent any incidental merge
|
PR to finish this here: #12381 |
On private link we use the Keyvault's pattern which is
az acr private-endpoint-connection approve/delete/reject/show/listOn CMK, we use the VM's pattern
az acr encryptionThis PR is pending SDK release for azure-mgmt-containerregistry
History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.