Skip to content

Commit 16aee3e

Browse files
committed
fix: update --appgw-subnet-cidr to be shorter than /24
1 parent 7952300 commit 16aee3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3566,13 +3566,13 @@ def test_aks_create_with_ingress_appgw_addon(self, resource_group, resource_grou
35663566
})
35673567

35683568
create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \
3569-
'-a ingress-appgw --appgw-subnet-cidr 10.232.0.0/16 ' \
3569+
'-a ingress-appgw --appgw-subnet-cidr 10.232.0.0/26 ' \
35703570
'--ssh-key-value={ssh_key_value} -o json'
35713571
self.cmd(create_cmd, checks=[
35723572
self.check('provisioningState', 'Succeeded'),
35733573
self.check('addonProfiles.ingressApplicationGateway.enabled', True),
35743574
self.check(
3575-
'addonProfiles.ingressApplicationGateway.config.subnetCIDR', "10.232.0.0/16")
3575+
'addonProfiles.ingressApplicationGateway.config.subnetCIDR', "10.232.0.0/26")
35763576
])
35773577

35783578
# live only due to role assignment is not mocked

0 commit comments

Comments
 (0)