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

[AKS] update SDK and add tests for "nodeResourceGroup" #6564

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
4 changes: 4 additions & 0 deletions src/command_modules/azure-cli-acs/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

2.2.0
+++++
* expose read-only "nodeResourceGroup" property on managed clusters

2.1.0
+++++
* `az aks create` understands advanced networking (VNet) options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_aks_create_default_service(self, resource_group, resource_group_locatio
'--service-principal={service_principal} --client-secret={client_secret}'
self.cmd(create_cmd, checks=[
self.exists('fqdn'),
self.exists('nodeResourceGroup'),
self.check('provisioningState', 'Succeeded')
])

Expand All @@ -58,6 +59,7 @@ def test_aks_create_default_service(self, resource_group, resource_group_locatio
self.cmd('aks show -g {resource_group} -n {name}', checks=[
self.check('type', '{resource_type}'),
self.check('name', '{name}'),
self.exists('nodeResourceGroup'),
self.check('resourceGroup', '{resource_group}'),
self.check('agentPoolProfiles[0].count', 1),
self.check('agentPoolProfiles[0].osType', 'Linux'),
Expand Down
4 changes: 2 additions & 2 deletions src/command_modules/azure-cli-acs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}

VERSION = "2.1.0"
VERSION = "2.2.0"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand All @@ -32,7 +32,7 @@
DEPENDENCIES = [
'azure-mgmt-authorization==0.40.0',
'azure-mgmt-compute==4.0.0rc2',
'azure-mgmt-containerservice==4.0.0',
'azure-mgmt-containerservice==4.1.0',
'azure-graphrbac==0.40.0',
'azure-cli-core',
'paramiko',
Expand Down