Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error authenticating to cloud (GCP) #50

Closed
vincent-grafana opened this issue May 24, 2022 · 2 comments · Fixed by #52
Closed

Error authenticating to cloud (GCP) #50

vincent-grafana opened this issue May 24, 2022 · 2 comments · Fixed by #52
Assignees

Comments

@vincent-grafana
Copy link

vincent-grafana commented May 24, 2022

While running the basic list-pods script against a cluster in GCP, I encounter the following error:

ERRO[0000] no Auth Provider found for name "gcp"
        at file:///home/vw/dev/k6/scripts/list-pods.js:5:21(4)
        at native  executor=per-vu-iterations scenario=default source=stacktrace

From my understanding, the expected action is to read from the kubeconfig filepath provided (or take from the default path).

Is the default incorrect, or does the documentation need to be updated differently?

@dgzlopes
Copy link
Member

dgzlopes commented May 25, 2022

Probably, related with this: kubernetes/client-go#242 (comment) 👀

@vincent-grafana
Copy link
Author

Thanks - sounds like we need to include the auth module?

Simliar to:
https://github.com/kubernetes/client-go/blob/e121606b0d09b2e1c467183ee46217fa85a6b672/kubernetes/clientset.go#L35-Lundefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants