Skip to content

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

Merged
merged 11 commits into from
Jun 16, 2025

Conversation

ElderMatt
Copy link
Contributor

@ElderMatt ElderMatt commented Jun 11, 2025

📌 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

image

Copy link
Contributor

@ferruhcihan ferruhcihan left a 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.

Copy link
Contributor

@ferruhcihan ferruhcihan left a 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 👍🏻

Copy link
Contributor

@j-zimnowoda j-zimnowoda left a 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

@j-zimnowoda j-zimnowoda merged commit 5650905 into main Jun 16, 2025
14 checks passed
@j-zimnowoda j-zimnowoda deleted the APL-723 branch June 16, 2025 08:50
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 this pull request may close these issues.

4 participants