Azure / azure-capi-cli-extension

Kubernetes Cluster API support in the Azure CLI
MIT License
20 stars 18 forks source link

Fix case where "az aks" errors on empty kubeconfig #164

Closed mboersma closed 1 year ago

mboersma commented 1 year ago

Description

The az aks get-credentials command quits with an error if some default entries aren't present in the user's kubeconfig file. This works around that, since az capi shells out to that command.

History Notes


This checklist is used to make sure that common guidelines for an Azure CLI pull request are followed.