-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with exec credentials on the latest kubernetes-model #1332
Comments
The exception:
My exec user is something like:
And I'm doing something simple like currentAuthInfo.getAdditionalProperties().get("exec"); is returning null because I think it should be changed to something like ExecConfig has all the required fields command, env... |
having the same issue, funny though, when you downgrade to 4.1.0 you get : but it does get ExecConfig correctly and it isn't null unlike in 4.1.1 |
4.1.0 is working fine for me, We don't have About this one, I've made a pull request and I re-enabled a test-case, please @rohanKanojia could you take a look? :-) Thanks guys btw, it is an awesome library, I really like it ;-) this was just a small bug |
After update the kubernetes-client from
4.1.0
to4.1.1
the exec credentials (used by aws eks) is not workingIt used to get it from the map of other properties https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/Config.java#L511
But on the latest version o kubernetes-model, AuthInfo,
exec
is well mapped and additionalProperties doesn't have it anymoreThe text was updated successfully, but these errors were encountered: