flathub / flathub/com.visualstudio.code
Include vs-kubernetes/tools/kubectl in path.
- 主要语言
- Shell
- 星标
- 217
- 派生
- 82
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 1
描述
By using the official Kubernetes extension (_ms-kubernetes-tools.vscode-kubernetes-tools_), Visual Studio Code can automatically install binaries for kubectl, helm, and minikube.
Unfortunately, if you attempt to explore workloads and try to attach vscode to a running pod, you encounter the following error:
**Error running command remote-containers.attachToK8sContainerFromViewlet: A system error occurred (spawn kubectl ENOENT). This is likely caused by the extension that contributes remote-containers.attachToK8sContainerFromViewlet.**
To fix this issue, you can edit code.sh (line 67) by adding the following path:
**${XDG_DATA_HOME}/.local/state/vs-kubernetes/tools/kubectl**
After making this change, vscode is able to find the kubectl binary and the extension will be fully functional.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。