Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump k8s-extension version to 1.2.5 #153

Merged
merged 46 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
93cc360
{AKS-preview} Bump the AKS-preview extension version (#5089)
ganga1980 Jul 11, 2022
b02803b
{AzContainerApp} fixes Azure/azure-cli-extensions#5067 (#5085)
navba-MSFT Jul 11, 2022
afc93e6
[k8s-extension] Update extension CLI to v1.2.4 (#5095)
bavneetsingh16 Jul 12, 2022
4c6922a
[Release] Update index.json for extension [ aks-preview ] (#5097)
azclibot Jul 12, 2022
e0f35f5
Added v2.6.0 for ml extension (#5096)
nthandeMS Jul 12, 2022
81454d1
chore(arcdata): version bump to 1.4.3 (#5101)
swells Jul 12, 2022
839a154
AMG: fix a casing of the SKU name (#5110)
yugangw-msft Jul 13, 2022
503d796
[Release] Update index.json for extension [ k8s-extension ] (#5105)
azclibot Jul 13, 2022
fd006ce
[Release] Update index.json for extension [ amg ] (#5112)
azclibot Jul 13, 2022
b585fdb
{AKS} Fix enabled virtual node addon showing wrong status in `aks add…
navba-MSFT Jul 13, 2022
db42fa9
{AKS} Add test for virtual node addon in `aks addon list` (#5113)
FumingZhang Jul 13, 2022
e9801ef
[Release] Update index.json for extension [ aks-preview ] (#5114)
azclibot Jul 13, 2022
fc3a348
{AKS} Fix compatibility issue when enabling Microsoft Defender via ak…
FumingZhang Jul 13, 2022
b580fcd
resolve release conflict (#5119)
FumingZhang Jul 14, 2022
dea31e0
ArcAppliance July Release 0.2.25 (#5116)
saisankargochhayat Jul 14, 2022
d4270cc
release new version of aks-preview (#5118)
FumingZhang Jul 14, 2022
039561f
[Release] Update index.json for extension [ aks-preview ] (#5120)
azclibot Jul 14, 2022
080fe1d
Update the index.json (#5121)
diondrapeck Jul 15, 2022
69f8325
chore(arcdata): version bump to 1.4.4 (#5122)
swells Jul 15, 2022
15e5e89
Azure Arc Diagnostic (#5025)
svagadia Jul 15, 2022
50e3505
[storage-preview] Fix #22699: fixing typo (#5124)
RakeshMohanMSFT Jul 18, 2022
f4a9a46
[Release] Update index.json for extension [ connectedk8s ] (#5123)
azclibot Jul 18, 2022
3ff68f7
regenerate (#5127)
kairu-ms Jul 19, 2022
41d3825
{FunctionApp} Fix #16323: Fix minor typo (#5134)
RakeshMohanMSFT Jul 20, 2022
8cfca65
{AKS} Vendor 2022-06-02-preview for aks-preview (#5135)
FumingZhang Jul 20, 2022
845c87a
Increase the timeout of diagnoser job completion to 180 sec (#5136)
sirireddy12 Jul 20, 2022
1c76659
[Release] Update index.json for extension [ connectedk8s ] (#5137)
azclibot Jul 20, 2022
1a343bb
[IoT] IoT Extension Release v0.16.1 (#5140)
c-ryan-k Jul 20, 2022
8aaa983
[CosmosDB] Adding support to retrieve and redistribute physical parti…
ravgill Jul 22, 2022
ca8d23c
{AKS} support disabling Azure KeyVault KMS (#5087)
bingosummer Jul 25, 2022
4161241
[Release] Update index.json for extension [ scheduled-query ] (#5128)
azclibot Jul 25, 2022
99dd4ab
{AKS} Refine tests for azurekeyvaultkms (#5100)
bingosummer Jul 25, 2022
9d59fff
[Release] Update index.json for extension [ cosmosdb-preview ] (#5145)
azclibot Jul 26, 2022
8165036
Containerapp 0.3.8 Release (#5026)
StrawnSC Jul 26, 2022
11bcbdb
Update README.md (#5150)
MSEvanhi Jul 26, 2022
b0ebdda
[amg] Azure managed grafana options for notification channels (#5033)
michelletaal-shell Jul 26, 2022
af9f9f1
Add premium tier in help and fix a bug (#5149)
zackliu Jul 26, 2022
36dbe76
[Release] Update index.json for extension [ containerapp ] (#5153)
azclibot Jul 26, 2022
2cc1404
Move KMS to GA (#5148)
bingosummer Jul 27, 2022
3112f7a
{AKS} Filter tests (#5154)
FumingZhang Jul 27, 2022
1dab6ae
[FluidRelay] Generate fluid-relay with CodeGen v2 (#5155)
ZengTaoxu Jul 27, 2022
e85a4e9
Add az vm repair reset-nic command (#5117)
swbae31 Jul 28, 2022
6a6badc
[Stack-hci] Upgrade api-version to `2022-05-01` (#5132)
Jing-song Jul 28, 2022
67aaaaa
Check service existence before creation (#5141)
qingc Jul 28, 2022
e3b7e84
Merge branch 'main' of github.com:Azure/azure-cli-extensions into rel…
Jul 28, 2022
a96c645
bump k8s-extension version to 1.2.5
Jul 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,5 @@
/src/containerapp-compose/ @smurawski @jldeen

/src/change-analysis/ @linglingtong

/src/fluid-relay/ @kairu-ms @necusjz @ZengTaoxu
71 changes: 71 additions & 0 deletions linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ sql mi-arc create:
sync_secondary_to_commit:
rule_exclusions:
- option_length_too_long
storage_class_orchestrator_logs:
rule_exclusions:
- option_length_too_long
volume_size_orchestrator_logs:
rule_exclusions:
- option_length_too_long
attestation policy set:
parameters:
new_attestation_policy:
Expand Down Expand Up @@ -688,6 +694,17 @@ dms project task create:
target_connection_json:
rule_exclusions:
- option_length_too_long
dt data-history connection create:
rule_exclusions:
- require_wait_command_if_no_wait
dt data-history connection create adx:
parameters:
adx_resource_group:
rule_exclusions:
- parameter_should_not_end_in_resource_group
eh_resource_group:
rule_exclusions:
- parameter_should_not_end_in_resource_group
dt endpoint create servicebus:
parameters:
servicebus_resource_group:
Expand Down Expand Up @@ -1085,6 +1102,22 @@ iot central export update:
central_dns_suffix:
rule_exclusions:
- no_parameter_defaults_for_update_commands
iot central device attestation update:
parameters:
api_version:
rule_exclusions:
- no_parameter_defaults_for_update_commands
central_dns_suffix:
rule_exclusions:
- no_parameter_defaults_for_update_commands
iot central device twin update:
parameters:
api_version:
rule_exclusions:
- no_parameter_defaults_for_update_commands
central_dns_suffix:
rule_exclusions:
- no_parameter_defaults_for_update_commands
iot central device update:
parameters:
api_version:
Expand All @@ -1093,6 +1126,14 @@ iot central device update:
central_dns_suffix:
rule_exclusions:
- no_parameter_defaults_for_update_commands
iot central device-group update:
parameters:
api_version:
rule_exclusions:
- no_parameter_defaults_for_update_commands
central_dns_suffix:
rule_exclusions:
- no_parameter_defaults_for_update_commands
iot central device-template update:
parameters:
api_version:
Expand Down Expand Up @@ -2339,6 +2380,36 @@ ssh arc:
ssh_args:
rule_exclusions:
- no_positional_parameters
stack-hci arc-setting create:
parameters:
arc_application_client_id:
rule_exclusions:
- option_length_too_long
arc_application_object_id:
rule_exclusions:
- option_length_too_long
arc_application_tenant_id:
rule_exclusions:
- option_length_too_long
arc_service_principal_object_id:
rule_exclusions:
- option_length_too_long
connectivity_properties:
rule_exclusions:
- option_length_too_long
stack-hci arc-setting update:
parameters:
connectivity_properties:
rule_exclusions:
- option_length_too_long
stack-hci cluster create:
parameters:
aad_application_object_id:
rule_exclusions:
- option_length_too_long
aad_service_principal_object_id:
rule_exclusions:
- option_length_too_long
storage account create:
parameters:
hierarchical_namespace:
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci/credscan/CredScanSuppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@
"src\\containerapp\\azext_containerapp\\tests\\latest\\cert.pfx",
"src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_commands.py",
"src\\containerapp\\azext_containerapp\\tests\\latest\\test_containerapp_env_commands.py",
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_registry_msi.yaml"
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_registry_msi.yaml",
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_update_containers.yaml"
],
"_justification": "Dummy resources' keys left during testing Microsoft.App (required for log-analytics to create managedEnvironments)"
},
Expand Down
29 changes: 29 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,35 @@ To release a new version, please select a new version number (usually plus 1 to
Pending
+++++++

0.5.92
++++++

* Move Azure KeyVault KMS to GA.
* Support disabling Azure KeyVault KMS.
* Update to use 2022-06-02-preview api version.

0.5.91
++++++

* Fix compatibility issue when enabling Microsoft Defender via aks-preview.
* az aks create
* az aks update

0.5.90 (NOT RELEASED)
+++++++++++++++++++++

* Skip this version due to conflict.

0.5.89
++++++

* Fix for the az aks addon list command to return enable:true, if virtual-node addon is enabled for the AKS cluster.

0.5.88
++++++

* AKS Monitoring MSI Auth related code imported from Azure CLI to reuse the code between aks-preview and Azure CLI.

0.5.87
++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
],
"need feature registration": [
"test_aks_create_enable_encryption",
"test_aks_create_edge_zone",
"test_aks_create_edge_zone"
],
"need namespace registration (AME)": [
"test_aks_create_with_monitoring_aad_auth_msi",
"test_aks_create_with_monitoring_aad_auth_uai",
"test_aks_enable_monitoring_with_aad_auth_msi",
"test_aks_enable_monitoring_with_aad_auth_uai",
"test_aks_create_with_defender",
"test_aks_update_with_defender"
"test_aks_enable_monitoring_with_aad_auth_uai"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"test_aks_create_with_pod_identity_enabled",
"test_aks_create_using_azurecni_with_pod_identity_enabled",
"test_aks_pod_identity_usage",
"test_aks_create_with_monitoring_aad_auth_msi",
"test_aks_create_with_monitoring_aad_auth_uai",
"test_aks_enable_monitoring_with_aad_auth_msi",
"test_aks_enable_monitoring_with_aad_auth_uai",
"test_aks_nodepool_add_with_workload_runtime",
"test_aks_nodepool_add_with_gpu_instance_profile",
"test_aks_create_with_crg_id",
Expand All @@ -29,9 +25,19 @@
"test_list_trustedaccess_roles",
"test_aks_custom_ca_trust_flow",
"test_aks_create_with_csi_driver_v2",
"test_aks_create_and_update_csi_driver_to_v2",
"test_aks_create_and_update_csi_driver_to_v2"
],
"toggle": [
"test_aks_create_with_azurekeyvaultkms_private_key_vault",
"test_aks_update_with_azurekeyvaultkms_private_key_vault"
"test_aks_update_with_azurekeyvaultkms_private_key_vault",
"test_aks_create_with_azurekeyvaultkms_public_key_vault",
"test_aks_create_with_azurekeyvaultkms_private_cluster_v1_private_key_vault"
],
"need namespace registration (AME)": [
"test_aks_create_with_monitoring_aad_auth_msi",
"test_aks_create_with_monitoring_aad_auth_uai",
"test_aks_enable_monitoring_with_aad_auth_msi",
"test_aks_enable_monitoring_with_aad_auth_uai"
]
}
}
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def register_aks_preview_resource_type():
register_resource_type(
"latest",
CUSTOM_MGMT_AKS_PREVIEW,
SDKProfile("2022-05-02-preview", {"container_services": "2017-07-01"}),
SDKProfile("2022-06-02-preview", {"container_services": "2017-07-01"}),
)


Expand Down
3 changes: 3 additions & 0 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,9 @@
- name: --enable-azure-keyvault-kms
type: bool
short-summary: Enable Azure KeyVault Key Management Service.
- name: --disable-azure-keyvault-kms
type: bool
short-summary: Disable Azure KeyVault Key Management Service.
- name: --azure-keyvault-kms-key-id
type: string
short-summary: Identifier of Azure Key Vault key.
Expand Down
17 changes: 9 additions & 8 deletions src/aks-preview/azext_aks_preview/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ def load_arguments(self, _):
c.argument('enable_pod_identity_with_kubenet', action='store_true')
c.argument('enable_workload_identity', arg_type=get_three_state_flag())
c.argument('enable_oidc_issuer', action='store_true', is_preview=True)
c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True)
c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True)
c.argument('azure_keyvault_kms_key_vault_network_access', arg_type=get_enum_type(keyvault_network_access_types), default=CONST_AZURE_KEYVAULT_NETWORK_ACCESS_PUBLIC, is_preview=True)
c.argument('azure_keyvault_kms_key_vault_resource_id', validator=validate_azure_keyvault_kms_key_vault_resource_id, is_preview=True)
c.argument('enable_azure_keyvault_kms', action='store_true')
c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id)
c.argument('azure_keyvault_kms_key_vault_network_access', arg_type=get_enum_type(keyvault_network_access_types), default=CONST_AZURE_KEYVAULT_NETWORK_ACCESS_PUBLIC)
c.argument('azure_keyvault_kms_key_vault_resource_id', validator=validate_azure_keyvault_kms_key_vault_resource_id)
c.argument('cluster_snapshot_id', validator=validate_cluster_snapshot_id, is_preview=True)
c.argument('disk_driver_version', arg_type=get_enum_type(disk_driver_versions))
c.argument('disable_disk_driver', action='store_true')
Expand Down Expand Up @@ -388,10 +388,11 @@ def load_arguments(self, _):
c.argument('disable_pod_identity', action='store_true')
c.argument('enable_workload_identity', arg_type=get_three_state_flag())
c.argument('enable_oidc_issuer', action='store_true', is_preview=True)
c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True)
c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True)
c.argument('azure_keyvault_kms_key_vault_network_access', arg_type=get_enum_type(keyvault_network_access_types), is_preview=True)
c.argument('azure_keyvault_kms_key_vault_resource_id', validator=validate_azure_keyvault_kms_key_vault_resource_id, is_preview=True)
c.argument('enable_azure_keyvault_kms', action='store_true')
c.argument('disable_azure_keyvault_kms', action='store_true')
c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id)
c.argument('azure_keyvault_kms_key_vault_network_access', arg_type=get_enum_type(keyvault_network_access_types))
c.argument('azure_keyvault_kms_key_vault_resource_id', validator=validate_azure_keyvault_kms_key_vault_resource_id)
c.argument('enable_disk_driver', action='store_true')
c.argument('disk_driver_version', arg_type=get_enum_type(disk_driver_versions))
c.argument('disable_disk_driver', action='store_true')
Expand Down
4 changes: 4 additions & 0 deletions src/aks-preview/azext_aks_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ def aks_update(
enable_workload_identity=None,
enable_oidc_issuer=False,
enable_azure_keyvault_kms=False,
disable_azure_keyvault_kms=False,
azure_keyvault_kms_key_id=None,
azure_keyvault_kms_key_vault_network_access=None,
azure_keyvault_kms_key_vault_resource_id=None,
Expand Down Expand Up @@ -1383,6 +1384,7 @@ def aks_addon_list_available():
def aks_addon_list(cmd, client, resource_group_name, name):
mc = client.get(resource_group_name, name)
current_addons = []
os_type = 'Linux'

for name, addon_key in ADDONS.items():
# web_application_routing is a special case, the configuration is stored in a separate profile
Expand All @@ -1395,6 +1397,8 @@ def aks_addon_list(cmd, client, resource_group_name, name):
else False
)
else:
if name == "virtual-node":
addon_key += os_type
enabled = (
True
if mc.addon_profiles and
Expand Down
Loading