Open exarkun opened 7 years ago
Anybody?
My apologies on the long response time.
I definitely want to see this supported. I am going to look up the expected behavior of kubectl here. Do you know if what you are proposing (relative paths are relative to the kube config) the behavior of kubectl?
Thanks for the reply.
I'm not sure if this is the behavior of kubectl but the upstream bug report seems to imply it is. The value is taken from someone's existing ~/.kube/config
and they were expecting it to work. I suspect that means they're successfully using it with kubectl but I don't know for sure.
I have confirmed that relative paths in kubeconfig should be resolved relative to the location of the file. I will get a fix up in the next couple of days.
Any chance you've had time or will have time soon for this? Thanks. :)
This was reported by a txkube user: https://github.com/LeastAuthority/txkube/issues/119. txkube uses pykube's config loader.
From the original report: