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

Fails if privileges are limited #60

Open
cbndr opened this issue Feb 15, 2023 · 1 comment · May be fixed by #55
Open

Fails if privileges are limited #60

cbndr opened this issue Feb 15, 2023 · 1 comment · May be fixed by #55

Comments

@cbndr
Copy link

cbndr commented Feb 15, 2023

In a production environment, users usually have limited privileges. In this case kubectl tree <kind> <name> fails with

Error: error while querying api objects: listing resources failed (<GVK>): <kind> is forbidden

I would suggest to print a warning for 403s but continue processing otherwise.

EDIT: Just saw there is already #55 for this. Please merge.

@ahmetb ahmetb linked a pull request Feb 15, 2023 that will close this issue
@ahmetb
Copy link
Owner

ahmetb commented Feb 15, 2023

Just pushed some changes to #55. Do you have the means to try that branch out and see if it works as you expected?

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.

2 participants