Open Welasco opened 1 year ago
Hi @Welasco,
2.47.0 is not the latest Azure CLI(2.49.0).
Please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
Author: | Welasco |
---|---|
Assignees: | - |
Labels: | `bug`, `Service Attention`, `AKS`, `Auto-Assign`, `Auto-Resolve` |
Milestone: | - |
Non customer-reported issue. Adding Service team to look into this.
The command group az k8s-extension
is not owned by AKS team. @bavneetsingh16 could you please help take a look?
Describe the bug
az k8s-extension create doesn't have tags parameter, it's a blocker for companies with Azure Policy in-place that requires tags.
Related command
az k8s-extension create --name azuremonitor-containers --cluster-name xxx --resource-group xxx --cluster-type connectedClusters --extension-type Microsoft.AzureMonitor.Containers --configuration-settings amalogs.logsettings.custommountpath=/home/data/docker --version 3.1.5
Errors
(RequestDisallowedByPolicy) Resource 'xxx' was disallowed by policy. Code: RequestDisallowedByPolicy
Customers that has policy tag requirements can't execute the command with the above error.
Issue script & Debug output
(RequestDisallowedByPolicy) Resource 'xxx' was disallowed by policy. Code: RequestDisallowedByPolicy
Expected behavior
We should have the --tags parameters in the command line.
Environment Summary
❯ az --version azure-cli 2.47.0 *
core 2.47.0 * telemetry 1.0.8
Extensions: aks-preview 0.5.128 appservice-kube 0.1.9 azure-firewall 0.6.2 azure-iot 0.10.8 connectedk8s 1.3.17 customlocation 0.1.3 front-door 1.0.16 functionapp 0.1.1 healthcareapis 0.4.0 k8s-configuration 1.7.0 k8s-extension 1.4.0 log-analytics 0.2.1 log-analytics-solution 0.1.1
Dependencies: msal 1.20.0 azure-mgmt-resource 22.0.0
Additional context
No response