aks-set-context icon indicating copy to clipboard operation
aks-set-context copied to clipboard

kube-login is not working as expected in the actions

Open gabo89 opened this issue 10 months ago • 1 comments

hello we are currently having this issue

Image

the server-id error is coming and used by kubelogin

https://github.com/Azure/kubelogin/blob/main/docs/book/src/cli/get-token.md?plain=1

would like to know if the current github actions work well with the kubelogin version 0.2.3 (https://github.com/Azure/kubelogin/releases/tag/v0.2.3)

we also use this command in the pipeline to install kubelogin at first place in case can give some hints

az aks install-cli

ty!!

gabo89 avatar Mar 18 '25 22:03 gabo89

[workaround] the latest valid kubelogin that let the github actions work is 0.1.9, update your az aks install-cli to be az aks install-cli --kubelogin-version v0.1.9

gabo89 avatar Mar 18 '25 23:03 gabo89

Hi, the --server-id issue you mentioned was fixed in a PR on the kubelogin repo. https://github.com/Azure/kubelogin/pull/634. Please feel free to reopen if this issue reappears.

betsygeo avatar Jun 26 '25 01:06 betsygeo