Open rbickel opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
Author: | rbickel |
---|---|
Assignees: | - |
Labels: | `AKS`, `Service Attention`, `needs-triage` |
Milestone: | - |
route to service team
@rbickel can you ensure that the account you are using to use the run command has the following rights.
"Microsoft.ContainerService/managedClusters/runcommand/action"
It sounds as if this right was explicitly denied for your user account.
I am subscription owner and kubectl commands work smoothly though. It is a vanilla cluster rbac enabled
On Wed, Jul 7, 2021, 17:51 miwithro @.***> wrote:
@rbickel https://github.com/rbickel can you ensure that the account you are using to use the run command has the following rights.
"Microsoft.ContainerService/managedClusters/runcommand/action"
It sounds as if this right was explicitly denied for your user account.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/azure-cli/issues/18759#issuecomment-875719719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2NX7FYHVWG4VK6KGLBDDTTWRZWLANCNFSM476PES4A .
@miwithro any idea/suggestion ?
@haitch to comment.
I think this breaks when we switch to use non-root user to improve security.
I will look into fix this ASAP.
Describe the bug When trying to run a helm command using the
az aks command
on an AKS cluster, every helm command fails with a permission exception. Example of failing command:az aks command invoke -g <group> -n <name> -c "helm install happy-panda bitnami/wordpress"
Or the following command from the documentation:
az aks command invoke -g <group> -n <name> -c "helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update && helm install my-release bitnami/nginx"
To Reproduce AKS Private Cluster: no AKS version: 1.19.11 Node pool version: 1.19.11
Run any helm command from
az aks command
az aks command invoke -g (g) -n (n) -c "helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update && helm install my-release bitnami/nginx"Expected behavior Should install the helm chart accordingly
Environment Summary
Additional Context