Skip to content

Commit c9bab47

Browse files
committed
fix: remove custom header from VMSS resize scenario test
The RP now gates VMSize resize by preview API version instead of AFEC feature registration, so the AKSHTTPCustomFeatures header is no longer needed. Signed-off-by: wenhug <50309350+wenhug@users.noreply.github.com>
1 parent 20ca437 commit c9bab47

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23197,8 +23197,7 @@ def test_aks_nodepool_update_vmss_vm_size_resize(
2319723197
create_cmd = (
2319823198
"aks create --resource-group={resource_group} --name={name} "
2319923199
"--node-count=1 --node-vm-size Standard_D2s_v3 "
23200-
"--ssh-key-value={ssh_key_value} "
23201-
"--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AgentPoolVMSSResize"
23200+
"--ssh-key-value={ssh_key_value}"
2320223201
)
2320323202
self.cmd(
2320423203
create_cmd,
@@ -23212,8 +23211,7 @@ def test_aks_nodepool_update_vmss_vm_size_resize(
2321223211
update_cmd = (
2321323212
"aks nodepool update --resource-group={resource_group} "
2321423213
"--cluster-name={name} -n {nodepool_name} "
23215-
"--node-vm-size Standard_D4s_v3 "
23216-
"--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AgentPoolVMSSResize"
23214+
"--node-vm-size Standard_D4s_v3"
2321723215
)
2321823216
self.cmd(
2321923217
update_cmd,

0 commit comments

Comments
 (0)