Giter Site home page Giter Site logo

Comments (6)

mbohlool avatar mbohlool commented on July 18, 2024

the pykube fix you mentioned does not apply here. Look like we are correctly reading gcp token here: https://github.com/kubernetes-incubator/client-python/blob/master/kubernetes/config/kube_config.py#L150

But assumption that if the host starts with https, the config file will always have cert_file, ssl_cert_file, and key_file may not be true. The correct patch here is to make those optional (set them if they exists).

from python.

mbohlool avatar mbohlool commented on July 18, 2024

if you just change line 82 from:

if not os.path.isfile(self._file):

to

if self._file and not os.path.isfile(self._file):

it should work. do you want to give it a try?

from python.

mbohlool avatar mbohlool commented on July 18, 2024

Well, look like there is another bug, I will send a patch.

from python.

mbohlool avatar mbohlool commented on July 18, 2024

I've send the fix. As this look urgent (config loader does not work for GKE, GCE or any other cluster with token authorization), I will do another alpha release with the fix.

from python.

mbohlool avatar mbohlool commented on July 18, 2024

Please update your package to 1.0.0a4 and try again. It should work.

from python.

paultiplady avatar paultiplady commented on July 18, 2024

That's working now. Thanks for the quick turnaround!

from python.

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.