GithubHelp home page GithubHelp logo

Comments (1)

kwkelly avatar kwkelly commented on July 24, 2024

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)

from podman-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.