You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert following commits as the original assumption where devicelogin…
… shouldn't work in non-interactive mode is invalid (#155)
* Revert "Enable kubectl version lower than 1.22 to work though without triggering exit under devicelogin mode (#152)"
This reverts commit 9cfbe19.
* Revert "Gaojing/devicelogin exit when interactivemode never (#145)"
This reverts commit 908abb3.
fixed a bug where kubelogin get-token always expects KUBERNETES_EXEC_…
…INFO env var (#151)
* Add condition:"kubernetes_exec_info" is empty in New() and its unit test. fixes#150
Co-authored-by: Jing Gao <jing@JingMS>
disregard tenantID from input kubeconfig when convert to azurecli (#124)
The change in v0.0.19 introduced passing the tenantID from input kubeconfig to azurecli. This resulted in error in azurecli when it's logged in using MSI as MSI login does not support tenant ID. (#123)
The change in this PR will disregard the tenant ID from input kubeconfig when convert to azurecli. If overriding tenant ID in azurecli mode is desired, add `--tenant-id` explicitly during conversion. For instance,
```sh
az aks get-credentials -g ${RG} -n ${AKS} && kubelogin convert-kubeconfig -l azurecli --tenant-id ${TENANT_ID}
```