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
{{ message }}
This repository was archived by the owner on Dec 1, 2018. It is now read-only.
File "/usr/local/lib/python2.7/dist-packages/pykube/config.py", line 142, in clusters
BytesOrFile.maybe_set(c, "certificate-authority")
File "/usr/local/lib/python2.7/dist-packages/pykube/config.py", line 225, in maybe_set
d[file_key] = cls(filename=d[file_key])
File "/usr/local/lib/python2.7/dist-packages/pykube/config.py", line 241, in __init__
raise exceptions.PyKubeError("'{}' file does not exist".format(filename))
pykube.exceptions.PyKubeError: 'dev-ca.crt' file does not exist```
the ca file resides in ~/.kube/dev-ca.crt. The same problem reoccurs with users[].user.client-certificate and .client-key. Putting absolute paths into ~/.kube/config appears to avoid the issue.
This was reported by a txkube user: LeastAuthority/txkube#119. txkube uses pykube's config loader.
From the original report: