kubelogin: v0.0.21 seems to break the use case when KUBERNETES_EXEC_INFO is empty
It seems that since https://github.com/Azure/kubelogin/pull/145, KUBERNETES_EXEC_INFO
is now required. My v0.0.20 workflow now fails with the following.
export KUBERNETES_EXEC_INFO=""
kubelogin get-token \
--login devicecode \
--server-id <AAD server app ID> \
--client-id <AAD client app ID> \
--tenant-id <AAD tenant ID>
--environment AzurePublicCloud
Error: cannot convert to ExecCredential: unexpected end of JSON input
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 35 (21 by maintainers)
oh crap, i printed that to stdout, which is why. let me rebuild it.