atomicapp icon indicating copy to clipboard operation
atomicapp copied to clipboard

support relative path for ca specified in kubeconfig file

Open dustymabe opened this issue 9 years ago • 1 comments

Apparently it is possible for the path to the ca within the kubeconfig files to be specified as a path relative to the kubeconfig file itself. It is done this way in the CDK.

When parsing the kubeconfig file we should try to handle this. If it is a relative path then just find the dirname of the kubeconfig file and tack the path to the ca onto the end of it.

dustymabe avatar Jan 25 '16 21:01 dustymabe

This really applies to any certificate that is provided in the kubeconfig file, not just the ca.

dustymabe avatar Apr 20 '16 20:04 dustymabe