Comments (6)
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.
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.
Well, look like there is another bug, I will send a patch.
from python.
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.
Please update your package to 1.0.0a4 and try again. It should work.
from python.
That's working now. Thanks for the quick turnaround!
from python.
Related Issues (20)
- How to delete a custom object and wait until it is cleaned up with `propagation_policy` HOT 1
- TypeError: list_namespaced_deployment() missing 1 required positional argument: 'self' HOT 3
- not able to update/patch the configmap HOT 1
- Stop using deprecated urllib3 API
- `CustomObjectsApi` is missing `field_validation` functionality present in all concrete object APIs HOT 1
- Regenerate supported client versions for kubernetes-client/gen#259 and kubernetes-client/gen#260 HOT 7
- Way to get only current logs, without follow and line by line HOT 3
- KUBECONFIG loading does not match kubectl behavior HOT 2
- api by yaml HOT 2
- read proxy-url from kubeconf HOT 6
- Vulnerability issue: Lib/ipaddress.py in Python version HOT 4
- Get CR, delete and re-create results in unsolvable `TypeError: 'NoneType' object is not callable` HOT 2
- EoS required for v29.0.0 HOT 2
- How to find documentation for previous releases? HOT 1
- 'set' object has no attribute 'openapi_types' HOT 2
- Port forward a service HOT 7
- Bad return for json response HOT 2
- Errouneous link for [object] type in V1RollingUpdateDeployment and V1HTTPGetAction pages HOT 5
- client.CoreV1Api.read_namespaced_pod(pod_name, pod_namespace) returning incomplete data for several minutes after pod is deployed HOT 2
- kubernetes.client.Configuration.set_default is not working as expected HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python.