Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0cf0381
{AKS} Update AKS PR check-in pipeline (#3537)
FumingZhang Jun 25, 2021
bea72c8
{diskpool} Refine output and add new command (#3490)
Juliehzl Jun 25, 2021
ab3d44a
[Release] Update index.json for extension [ diskpool ] (#3548)
Jun 25, 2021
e4a423a
Add support for 0.5 core / 512 Mi resource requests for spring-cloud …
allxiao Jun 28, 2021
8e293b7
[Release] Update index.json for extension [ confluent ] (#3533)
Jun 28, 2021
87e9cfa
[Release] Update index.json for extension [ spring-cloud ] (#3554)
Jun 28, 2021
33d8835
[AKS] Migrate aks-preview module to track 2 SDK (#3543)
FumingZhang Jun 29, 2021
a009929
chore(arcdata): Welcome arcdata v0.0.1 preview (#3461)
swells Jun 29, 2021
623f8ae
Update ml to version 2.0.1a3 (#3560)
needuv Jun 29, 2021
fd7b48a
[vmware] global reach connections (#3528)
cataggar Jun 30, 2021
870df2d
[vmware] add SRM recorded tests (#3535)
cataggar Jun 30, 2021
f29b323
{AKS} Polish scripts in aks live test pipeline (#3563)
FumingZhang Jun 30, 2021
cea0bd0
David/aks monitoring aad auth (#3500)
daweim0 Jul 1, 2021
aa0d22e
[Front Door] Add update func for backend and fix backend_host_header …
00Kai0 Jul 1, 2021
e11e44d
publish vmware 3.0.0 (#3570)
cataggar Jul 2, 2021
0e83afd
[Release] Update index.json for extension [ front-door ] (#3567)
Jul 2, 2021
9fd2a2d
[Release] Update index.json for extension [ vmware ] (#3576)
Jul 4, 2021
98288de
IoT Extension Release v0.10.14 (#3573)
c-ryan-k Jul 4, 2021
5380f93
Change dnc extension mode (#3568)
shriroopjoshi Jul 5, 2021
c353c4e
[Release] Update index.json for extension [ dnc ] (#3581)
Jul 5, 2021
a7a58b8
update pipeline (#3583)
FumingZhang Jul 5, 2021
0053e53
[Confluent] Remove isRIRequired and msrp in price of `az confluent of…
00Kai0 Jul 5, 2021
e44bb62
unping azdev version (#3585)
kairu-ms Jul 6, 2021
b4e0709
Updating the quantum extension to add simulator support (#3575)
bettinaheim Jul 6, 2021
4bf9017
[k8s-extension] Release v0.5.0 of extension customizations (#3545)
jonathan-innis Jul 7, 2021
c95c121
David/aks monitoring aad auth (#3594)
daweim0 Jul 8, 2021
25effe7
[Release] Update index.json for extension [ k8s-extension ] (#3591)
Jul 8, 2021
474a7aa
bug fix for aks monitoring enablement/disablement (#3596)
daweim0 Jul 8, 2021
fdb5e7f
[Release] Update index.json for extension [ aks-preview ] (#3598)
Jul 8, 2021
551479b
[datafactory] GA datafactory (#3597)
evelyn-ys Jul 8, 2021
7c6f92b
[Release] Update index.json for extension [ datafactory ] (#3599)
Jul 8, 2021
97c5f48
[Confluent] Add new test flow and fix bugs (#3587)
00Kai0 Jul 8, 2021
5405a62
fix issue in dcr template (#3600)
ganga1980 Jul 8, 2021
1095ce9
[Release] Update index.json for extension [ aks-preview ] (#3601)
Jul 8, 2021
58b4df8
Remove Pyhelm from OSM customization (#58)
jonathan-innis Jul 9, 2021
0b56023
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
jonathan-innis Jul 9, 2021
7712f52
Update release message
jonathan-innis Jul 9, 2021
56efa6e
[k8s-extension] Patch Bug in OpenServiceMesh with dependency on `pyhe…
jonathan-innis Jul 9, 2021
4ca94bd
Remove pyhelm dependency
jonathan-innis Jul 9, 2021
de426d4
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
jonathan-innis Jul 9, 2021
70e658d
Merge branch 'NanThi-ApiVer-2021-05-01-preview' into k8s-extension/pu…
anagg929 Jul 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
David/aks monitoring aad auth (Azure#3500)
* about to add check for if DCR is available in regions

* tested

* forgot to remove an exception

* fixed linter problems

* fixed some linter errors

* fixing linter errors

* fixing some feedback, more to come

* fixed all feedback and a bug

* cleanup

* addressed comments and static analyzer errors

* Update src/aks-preview/azext_aks_preview/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* Update src/aks-preview/azext_aks_preview/_help.py

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>

* fix linter error

* fixed small errors

* added unit tests, cleaned up the msi/sp auth check

* adding unit tests

* commenting out tests which require a subscription-level feature flag

* uncommented tests, put them in a list to not run

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
  • Loading branch information
daweim0 and zhoxing-ms authored Jul 1, 2021
commit cea0bd0b307bb51542f5ee02df2f08b649cbdc1f
6 changes: 6 additions & 0 deletions linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ aks create:
workspace_resource_id:
rule_exclusions:
- option_length_too_long
enable_msi_auth_for_monitoring:
rule_exclusions:
- option_length_too_long
enable_encryption_at_host:
rule_exclusions:
- option_length_too_long
Expand All @@ -93,6 +96,9 @@ aks enable-addons:
workspace_resource_id:
rule_exclusions:
- option_length_too_long
enable_msi_auth_for_monitoring:
rule_exclusions:
- option_length_too_long
aks nodepool add:
parameters:
enable_node_public_ip:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"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_fips"
"test_aks_create_with_fips",
"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"
],
"unknown": [
"test_aks_create_and_update_with_managed_aad_enable_azure_rbac",
Expand Down
1 change: 1 addition & 0 deletions src/aks-preview/azext_aks_preview/_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

CONST_MONITORING_ADDON_NAME = "omsagent"
CONST_MONITORING_LOG_ANALYTICS_WORKSPACE_RESOURCE_ID = "logAnalyticsWorkspaceResourceID"
CONST_MONITORING_USING_AAD_MSI_AUTH = "useAADAuth"

CONST_VIRTUAL_NODE_ADDON_NAME = "aciConnector"
CONST_VIRTUAL_NODE_SUBNET_NAME = "SubnetName"
Expand Down
6 changes: 6 additions & 0 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@
- name: --workspace-resource-id
type: string
short-summary: The resource ID of an existing Log Analytics Workspace to use for storing monitoring data. If not specified, uses the default Log Analytics Workspace if it exists, otherwise creates one.
- name: --enable-msi-auth-for-monitoring
type: bool
short-summary: Send monitoring data to Log Analytics using the cluster's assigned identity (instead of the Log Analytics Workspace's shared key).
- name: --enable-cluster-autoscaler
type: bool
short-summary: Enable cluster autoscaler, default value is false.
Expand Down Expand Up @@ -1042,6 +1045,9 @@
- name: --workspace-resource-id
type: string
short-summary: The resource ID of an existing Log Analytics Workspace to use for storing monitoring data.
- name: --enable-msi-auth-for-monitoring
type: bool
short-summary: Send monitoring data to Log Analytics using the cluster's assigned identity (instead of the Log Analytics Workspace's shared key).
- name: --subnet-name -s
type: string
short-summary: The subnet name for the virtual node to use.
Expand Down
3 changes: 3 additions & 0 deletions src/aks-preview/azext_aks_preview/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def load_arguments(self, _):
c.argument('pod_subnet_id', type=str, validator=validate_pod_subnet_id)
c.argument('ppg')
c.argument('workspace_resource_id')
c.argument('enable_msi_auth_for_monitoring', arg_type=get_three_state_flag(), is_preview=True)
c.argument('skip_subnet_role_assignment', action='store_true')
c.argument('enable_fips_image', action='store_true', is_preview=True)
c.argument('enable_cluster_autoscaler', action='store_true')
Expand Down Expand Up @@ -261,6 +262,8 @@ def load_arguments(self, _):
c.argument('appgw_subnet_id', options_list=['--appgw-subnet-id'], arg_group='Application Gateway')
c.argument('appgw_watch_namespace', options_list=['--appgw-watch-namespace'], arg_group='Application Gateway')
c.argument('enable_secret_rotation', action='store_true')
c.argument('workspace_resource_id')
c.argument('enable_msi_auth_for_monitoring', arg_type=get_three_state_flag(), is_preview=True)

with self.argument_context('aks get-credentials') as c:
c.argument('admin', options_list=['--admin', '-a'], default=False)
Expand Down
Loading