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
I get the same error using exec authentication with aws.
I suspect this has to do with the availability (or lack thereof) of the command for the exec in the path.
I have the aws command installed at /usr/local/bin/aws, and if I start podman desktop and omit /usr/local/bin from the PATH (e.g. PATH=/usr/bin open /Applications/Podman\ Desktop.app/), I get the TypeError: Cannot read properties of null (reading 'toString')) error.
On the other hand, if I make sure that authentication command is available in my path (e.g. PATH=/usr/local/bin:/usr/bin open /Applications/Podman\ Desktop.app/), it works just fine.
So in your kube config file, you can add the path where the command is installed as part of the env config.
env:
- name: PATH
value: $PATH:/usr/local/bin
you'll have to do this for each user/context. You could also add the command to one of your global paths (on macos those that are in /etc/paths)
Bug description
For Authentication on Prod we use azure/kubelogin. It seems like it is not compatible to Podman Desktop
Operating system
macos sonoma 14
Installation Method
Brew (macOS)
Version
1.8.0
Steps to reproduce
Relevant log output
No response
Additional context
User Authentication snippet Kubelogin:
Used Package for auth:
https://github.com/Azure/kubelogin
User Authentication snippet Kubelogin:
The text was updated successfully, but these errors were encountered: