Skip to content

Commit 66177e9

Browse files
committed
fix: update --appgw-subnet-cidr to be shorter than /24
1 parent 31e0eb9 commit 66177e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ def test_aks_create_with_ingress_appgw_addon(
783783

784784
create_cmd = (
785785
"aks create --resource-group={resource_group} --name={name} --enable-managed-identity "
786-
"-a ingress-appgw --appgw-subnet-cidr 10.232.0.0/16 "
786+
"-a ingress-appgw --appgw-subnet-cidr 10.232.0.0/26 "
787787
"--ssh-key-value={ssh_key_value} -o json"
788788
)
789789
self.cmd(
@@ -793,7 +793,7 @@ def test_aks_create_with_ingress_appgw_addon(
793793
self.check("addonProfiles.ingressApplicationGateway.enabled", True),
794794
self.check(
795795
"addonProfiles.ingressApplicationGateway.config.subnetCIDR",
796-
"10.232.0.0/16",
796+
"10.232.0.0/26",
797797
),
798798
],
799799
)

0 commit comments

Comments
 (0)