-
Notifications
You must be signed in to change notification settings - Fork 46
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
CLOUDSDK_CORE_PROJECT env var #179
Comments
I opened up a PR that adds a note about configuring access via the cloud. From the output you shared, it looks like you don't have permissions to view that project in Gcloud. Try following this doc to setup gcloud access to your account: https://cloud.google.com/sdk/docs/quickstart |
@sudermanjr I'm the owner of the project in GCP, I have access to the cluster and I configured gcloud and kubectl properly on my local... in fact all kubectl commands work perfectly... even rbac-lookup works, only rbac-lookup --gke doesn't... Normally when I see an error like |
So not a permissions problem, but a gcloud credentials configuration problem. What happens if you run To be honest, I'm not 100% familiar with the GKE portion of the code. I did just test against one of our gke clusters and did not get any errors, so I don't believe it's a bug. Also, can you share the version of rbac-manager you are running? |
here the anonymized output of
rbac-manager version: v0.10.1 do I need rbac-manager on the cluster to successfully use rbac-lookup? as I already had some problems for this, it's worth mentioning that our GKE cluster is PRIVATE. Do you think it could cause problems? |
Rbac-manager is not required for rbac-lookup. That's interesting. I don't think private should break it, but I'm not sure I've tried honestly. |
@sudermanjr of course I'm not sure if it's a bug. |
Yeah, it very well could be a bug. I'll tag this as a bug and we can try to look further. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi guys,
I use GKE, so I tried to run the command
rbac-lookup --output wide --gke
but I received an errorI tried to set
CLOUDSDK_CORE_PROJECT = my-cool-project
and I receive a different error:I tried to look for
CLOUDSDK_CORE_PROJECT
in your doc or in Gcloud SDK doc, but I don't find any info about how to set this environment variable.Can you please add such info to the README or in
https://rbac-lookup.docs.fairwinds.com/gke/
?Thanks :)
The text was updated successfully, but these errors were encountered: