-
Notifications
You must be signed in to change notification settings - Fork 170
fix: create initial credential secret before the message shows up #2226
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
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.
We should ensure that root credentials are always created, regardless of the hasExternalIDP
flag or platformAdmin
user.
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.
Comment is resolved, LGTM 👍🏻
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.
Tested by deploying a cluster and obtaining the platform-admin-initial-credentials
📌 Summary
This PR creates the initial secret long before the login message shows up instead of creating it around the same time.
This makes sure that it is available when the auth is ready as well.
Also check APL-TASKS PR