Commit 14d28f4
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 14d28f4
2 files changed
Lines changed: 25 additions & 1 deletion
File tree
- src/aks-preview/azext_aks_preview
- tests/latest
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 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
4686 | 4689 | | |
4687 | 4690 | | |
4688 | 4691 | | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
| 4695 | + | |
| 4696 | + | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
4689 | 4708 | | |
4690 | 4709 | | |
4691 | 4710 | | |
| |||
0 commit comments