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

Boom!! Unauthorized access to namespace "...". #197

Closed
markusheiden opened this issue May 28, 2019 · 4 comments
Closed

Boom!! Unauthorized access to namespace "...". #197

markusheiden opened this issue May 28, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@markusheiden
Copy link

markusheiden commented May 28, 2019




Describe the bug
K9S does not start at all. It immediately exists with:
Boom!! Unauthorized access to namespace "...".

To Reproduce
Steps to reproduce the behavior:

  1. Start K9S on a cluster with restricted access.
  2. See error.

Expected behavior
K9S at least explains which rights are missing.

Versions (please complete the following information):

  • OS: OSX 10.14.5
  • K9s: 0.6.7
  • K8s: Client 1.14.2, Server 1.13.4

Additional context
(Very) early versions of K9S worked fine.

@den-is
Copy link
Contributor

den-is commented May 29, 2019

Instead of creating similar issue I will write my additional comments here:

  1. I've encountered same Boom!! thing
    solution - I forgot to connect to VPN which grants access to cluster.

Then I've start thinking - What a hell? Why only "Boom!!" - Why error about connection issue can't be more descriptive? And found another issue:
Again text can't be seen in dark theme:
image

But after selecting line I've got full message:

Boom!! Unauthorized access to namespace "default".

Curious if it is possible to alert message like "Not only unauthorized, but can't connect at all, dude."

@derailed derailed added the bug Something isn't working label May 29, 2019
@derailed
Copy link
Owner

@markusheiden @den-is Thank you both for the report! I'll add more info for the namespace issue and Denis will fix the color too ;) on the next drop.

@derailed
Copy link
Owner

@markusheiden also... tailing the K9s logs should show you the actual access issue.

@derailed
Copy link
Owner

@markusheiden @den-is Fixed 0.7.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants