Commit aae778c
committed
{AKS} Add mTLS as transit encryption type for ACNS
Add support for mTLS as a new ACNS transit encryption type in the
aks-preview extension, including CLI enum exposure and validation that
prevents incompatible combinations with L7 advanced network policies
and Istio service mesh during both create and update flows.
- Add mTLS to --acns-transit-encryption-type allowed values and help
text for az aks create and az aks update.
- Add validation blocking mTLS when L7 advanced network policies are
requested or already enabled, and when Azure Service Mesh (Istio)
is enabled or already present.
- Improve error messages to reference exact CLI flags and clarify
when conflicts come from existing cluster state.
- Guard aks wait calls with is_live check to prevent VCR cassette
mismatch in playback mode.
- Add/extend unit tests, scenario tests, and recordings for the new
mTLS option.
Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>1 parent 1089267 commit aae778c
File tree
9 files changed
+2827
-5
lines changed- src/aks-preview
- azext_aks_preview
- tests/latest
- recordings
9 files changed
+2827
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
| |||
970 | 972 | | |
971 | 973 | | |
972 | 974 | | |
973 | | - | |
| 975 | + | |
974 | 976 | | |
975 | 977 | | |
976 | 978 | | |
| |||
1635 | 1637 | | |
1636 | 1638 | | |
1637 | 1639 | | |
1638 | | - | |
| 1640 | + | |
1639 | 1641 | | |
1640 | 1642 | | |
1641 | 1643 | | |
| |||
Lines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
917 | 919 | | |
918 | 920 | | |
919 | 921 | | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
920 | 965 | | |
921 | 966 | | |
922 | 967 | | |
| |||
0 commit comments