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

difficulty getting started #9002

Closed
dberardo-com opened this issue May 4, 2024 · 4 comments
Closed

difficulty getting started #9002

dberardo-com opened this issue May 4, 2024 · 4 comments
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@dberardo-com
Copy link

What should be cleaned up or changed?

i am following the readme to get started with the platform. installation via helm works well, but then i am stuck logging in.

in previous version there was the possibility to skip login, which was just great for a quick start.

now i am getting pretty frustrated, as i am creating serviceaccounts with tokens and keep getting an unmotivated "Unauthorized (401): Invalid credentials provided" error from the GUI.

i would suggest:

  • make an easier beginner-oriented step-by-step guide to access the GUI in the simplest way
  • let me know what i am doing wrong
  • reinstate the skipLogin feature

Why is this needed?

increase popularity of this tool throughout community and lower entry barrier

@dberardo-com dberardo-com added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label May 4, 2024
@mathematikoi
Copy link

i keep getting Unauthorized (401): Invalid credentials provided too with no clue what is happening!

@dberardo-com
Copy link
Author

i believe my problem was some sort of cookies in the browser, which was perhaps set from previous attempts or previous versions of the dashboard.

@floreks
Copy link
Member

floreks commented May 6, 2024

If you're doing a major upgrade then you should always clean up the cookies or use incognito mode. Our docs contain up-to-date information on how to install, open, and access Dashboard with information on how to create an example user. If you are doing a clean install and using incognito mode then I don't see how it could not work.

As for the skip login feature, we will not be bringing it back since the API no longer supports acting on behalf of itself. It is mandatory to provide credentials that API can use to authenticate and authorize all actions. The code that was allowing API to use its' own permissions has been removed. It was done mostly for security reasons but also to simplify overall architecture and multi-container setup.

/close

@k8s-ci-robot
Copy link
Contributor

@floreks: Closing this issue.

In response to this:

If you're doing a major upgrade then you should always clean up the cookies or use incognito mode. Our docs contain up-to-date information on how to install, open, and access Dashboard with information on how to create an example user. If you are doing a clean install and using incognito mode then I don't see how it could not work.

As for the skip login feature, we will not be bringing it back since the API no longer supports acting on behalf of itself. It is mandatory to provide credentials that API can use to authenticate and authorize all actions. The code that was allowing API to use its' own permissions has been removed. It was done mostly for security reasons but also to simplify overall architecture and multi-container setup.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

No branches or pull requests

4 participants