Skip to content

Conversation

@yugangw-msft
Copy link
Contributor

@yugangw-msft yugangw-msft commented Feb 20, 2021

Label "Do Not Merge" as this is pending SDK release
edit: azure-mgmt-containerregistry 3.0.0rc17 was released

Description
Support registry-wide pull from unauthenticated clients

Testing Guide
az acr update -n myRegistry --anonymous-pull-enabled

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 20, 2021

acr

Copy link
Member

Choose a reason for hiding this comment

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

just curious, should it be enable_anonymous_call?

Copy link
Member

Choose a reason for hiding this comment

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

i see, to align with swagger

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
c.argument('anonymous_pull_enabled', get_three_state_flag(), help="Enables registry-wide pull from unauthenticated clients")
c.argument('anonymous_pull_enabled', get_three_state_flag(), help="Enable registry-wide pull from unauthenticated clients")

azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==3.0.0rc16
azure-mgmt-containerregistry==3.0.0rc17
Copy link
Member

Choose a reason for hiding this comment

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

since SDK version changed, I'll suppose you've already run live tests :)

Copy link
Contributor Author

@yugangw-msft yugangw-msft Mar 9, 2021

Choose a reason for hiding this comment

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

@yungezz there is no api version bump in this SDK version. The spec change PR is here FYI: Azure/azure-rest-api-specs#13001
But I still ran a few more tests live to provide enough confidence for this PR. Please take a look and let me know if you have any other suggestions.

@yungezz yungezz merged commit 5368958 into Azure:dev Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants