mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
port-forward now gets the bundled kubectl path without going through the 'ensureKubectl' hoops
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
9f3e5d684e
commit
4b8e1bac57
@ -70,7 +70,7 @@ class PortForward {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async start() {
|
public async start() {
|
||||||
const kubectlBin = await Kubectl.bundled().getPath();
|
const kubectlBin = await Kubectl.bundled().getPath(true);
|
||||||
const args = [
|
const args = [
|
||||||
"--kubeconfig", this.kubeConfig,
|
"--kubeconfig", this.kubeConfig,
|
||||||
"port-forward",
|
"port-forward",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user