gridscale / gridscale/gscloud

gscloud path gets hard-coded into kubectl config

Open
#10 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.