Comments (8)
Yeah, it very well could be a bug. I'll tag this as a bug and we can try to look further.
from rbac-lookup.
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
from rbac-lookup.
@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 bad request
, the first thing I think is that the request is wrong... for a permission problem, the server would answer with 401 Unauthorised
or 403 Forbidden
instead of 400 Bad request
...
from rbac-lookup.
No project ID found in default GCP credentials
So not a permissions problem, but a gcloud credentials configuration problem. What happens if you run gcloud config list
?
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?
from rbac-lookup.
here the anonymized output of gcloud config list
:
[container]
cluster = my-cool-cluster
[core]
account = [email protected]
disable_usage_reporting = False
project = my-cool-project
Your active configuration is: [default]
rbac-manager version: v0.10.1
rbac-lookup version: Version:0.6.2 Commit:030e2484220cd353fa2026b808f5ff0ee1094876
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?
from rbac-lookup.
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.
from rbac-lookup.
@sudermanjr of course I'm not sure if it's a bug.
But from what I read in docs and what I see, there is no reason why rbac-lookup doesn't work.
from rbac-lookup.
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.
from rbac-lookup.
Related Issues (20)
- Dependabot can't parse your go.mod
- CLA Link Broken? HOT 1
- Dependabot can't resolve your Go dependency files
- Increase Test Coverage to 50% HOT 1
- Compile multi-arch HOT 3
- Dependabot can't resolve your Go dependency files HOT 1
- Service Account Namespace HOT 4
- Dependabot can't resolve your Go dependency files HOT 1
- Dependabot can't resolve your Go dependency files
- permissions are too harsh IMO HOT 2
- DNS Resolution does not work when using VPN HOT 4
- Warning message on Brew MacOS HOT 2
- v0.8.1 does not run under bare ubi8/ubi HOT 1
- [FEAT]: make `lookup` directory a public pkg to be imported in golang projects HOT 1
- Having issues with kubectl 1.23 client version HOT 3
- Dependabot couldn't find a Gopkg.toml for this project
- Dependabot couldn't find a Gopkg.toml for this project HOT 1
- Use krew-release-bot for publishing plugin releases HOT 3
- Add basic e2e testing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbac-lookup.