Commit 6aff0ee
committed
aks-preview: Fix managedNATGatewayV2 outbound type being overwritten to loadBalancer
The dynamic completion logic in _get_outbound_type() did not include
managedNATGatewayV2 in its list of known outbound types. When a user
specified --outbound-type managedNATGatewayV2, the CLI treated it as
an unrecognized value and silently overwrote it to loadBalancer before
sending the request to the RP.
Fixed in 3 places:
- Dynamic completion list: preserve managedNATGatewayV2 instead of
overwriting to loadBalancer
- Basic LB SKU validation: reject managedNATGatewayV2 with basic SKU
- Multi-zone warning: show zone-redundancy warning for V2 on update1 parent efcf6e1 commit 6aff0ee
1 file changed
Lines changed: 6 additions & 1 deletion
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
| |||
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| 584 | + | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
| |||
622 | 624 | | |
623 | 625 | | |
624 | 626 | | |
625 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
626 | 631 | | |
627 | 632 | | |
628 | 633 | | |
| |||
0 commit comments