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

The plugin does not use the correct endpoints when az cli is connected to AzureUSGovernment #68

Open
crstop opened this issue Dec 10, 2024 · 0 comments

Comments

@crstop
Copy link

crstop commented Dec 10, 2024

After using az cloud set --name AzureUSGovernment then login with az login and verifying the correct environment with az account show --query environmentName using kubectl aks config import --subscription --resource-group --cluster-name I get and error

Error: getting VMSS VMs via Azure API: getting cluster: GET https://management.azure.com/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.ContainerService/managedClusters/<cluster-name>

I would expect the plugin to try to use the management endpoint from az cloud show --name AzureUSGovernment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant