-
Notifications
You must be signed in to change notification settings - Fork 1
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
stick to wego-admin admin user in gitops bootstrap command #3567
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, please review that the acceptance test works.
What are your thoughts about the docs?
@@ -95,7 +95,6 @@ func TestBootstrapCmd(t *testing.T) { | |||
flags: []string{kubeconfigFlag, | |||
"--version=0.33.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the version and run it so we keep it for ensuring some acceptance
@@ -7,8 +7,8 @@ import ( | |||
) | |||
|
|||
const ( | |||
installSuccessMsg = "WGE v%s is installed successfully\nYou can visit the UI at https://%s/" | |||
portforwardMsg = "WGE v%s is installed successfully. To access the dashboard, run the following command to create portforward to the dasboard local domain http://localhost:8000" | |||
installSuccessMsg = "WGE v%s is installed successfully\nYou can visit the UI at https://%s/ . admin username: `wego-admin`" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could review this part to make it clearer the info: may be a different msg.
Regarding the docs , luckily nothing refers this part |
Closes #3506
What changed?
due to hardcoded rbacs to
wego-admin
username as admin hereIt's a limitation to create another user to be the admin
It would be difficult to replicate the permission for admin user and seems it's not intended to be that way in the code
How was this change implemented?
wego-admin
How did you validate the change?
do
gitops bootstrap
and the wizard shall not ask for username and give indication that it'll bewego-admin
Integration tests -- what is covered, what cannot be covered;
or, explain why there are no new tests
Unit tests -- what is covered, what cannot be covered; are
there tests that fail without the change?
Release notes
Documentation Changes
Other follow ups