gscloud path gets hard-coded into kubectl config
Open
bug
- Dominant language
- Go
- Stars
- 16
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
After setting up `kubectl` using `gscloud` `kubectl` now complains that it cannot find `gscloud` in `/home/dennis/Downloads` for some reason (I copied `gscloud` to `/usr/local/bin`):
```
$ kubectl get nodes
Unable to connect to the server: getting credentials: exec: fork/exec /home/dennis/Downloads/gscloud: no such file or directory
```
The problem seems to be that the path is hard-coded into the kubernetes config file as `command: /home/dennis/Dowloads/gscloud`. When I replace this with `command: gscloud` then `kubectl` finds the copy in `/usr/local/bin` and no longer throws an error.
Contributor guide
Assessment
This issue has not been assessed yet.