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
Any relative file references are supposed to be searched for under the directory of the kubeconfig file that defined the reference.
client-go uses filepath.isAbs(), the javascript lib uses path.isAbsolute(). k8s-client should probably use the Pathname#absolute? to build the final path.
For example when merging kubeconfigs, the origin of each entry must be tracked so the reference can be resolved later.
The text was updated successfully, but these errors were encountered:
But the issue is still relevant for the relative certificate paths etc. The load location must be tracked and in case the command has path separators, and is not absolute?, the load origin must be known.
kke
changed the title
Exec/auth provider command path inconsistent with go/js
Config load path must be tracked
Sep 18, 2019
Any relative file references are supposed to be searched for under the directory of the kubeconfig file that defined the reference.
client-go
usesfilepath.isAbs()
, the javascript lib usespath.isAbsolute()
.k8s-client
should probably use thePathname#absolute?
to build the final path.For example when merging kubeconfigs, the origin of each entry must be tracked so the reference can be resolved later.
The text was updated successfully, but these errors were encountered: