Keeps track of the most recent proxy instance so the user always has access to the debug logs even if the connection attempt failed. The PR also includes a tentative fix for when the kubeconfig file path and/or context name contain empty spaces or other characters that might break the cli command format.
One nitpick is that I'd remove the "closes 4213". We'll want to get back to the users to see if their problems are solved or if the additional logging gives details into what's going on.
https://github.com/kubeshop/monokle/assets/17082761/ecb6442c-f890-4ae7-97f8-351e7ec5ab02
Keeps track of the most recent proxy instance so the user always has access to the debug logs even if the connection attempt failed. The PR also includes a tentative fix for when the
kubeconfig
file path and/orcontext
name contain empty spaces or other characters that might break the cli command format.