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
Most likely, this is the responsible part, as it checks that the flag is defined in the commandline arguments instead of checking if the value in the struct is non-empty.
Hello,
We are using a service principal with kubelogin and recently migrated to the following commandline:
However, with the new commandline, in the
~/.kube/config
file, we are missing the--client-secret
argument and its value.It results in the following error:
I noticed that changing to the following commandline fixes the issue:
Most likely, this is the responsible part, as it checks that the flag is defined in the commandline arguments instead of checking if the value in the struct is non-empty.
kubelogin/pkg/converter/convert.go
Lines 251 to 261 in 992e74d
The text was updated successfully, but these errors were encountered: