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

Initial bootstrap admin #10661

Merged
merged 1 commit into from Mar 16, 2022
Merged

Conversation

andreaTP
Copy link
Contributor

@andreaTP andreaTP commented Mar 9, 2022

Resolves #9843

NDR: This is a stop gap solution.

@vmuzikar vmuzikar added area/operator Keycloak.X Operator kind/feature Categorizes a PR related to a new feature labels Mar 10, 2022
@andreaTP andreaTP force-pushed the issue-9843-initial-admin branch 3 times, most recently from 786d67b to 05c7880 Compare March 10, 2022 15:44
@andreaTP
Copy link
Contributor Author

@vmuzikar ready for next round! 🎉

Comment on lines +269 to +270
AtomicReference<String> adminUsername = new AtomicReference<>();
AtomicReference<String> adminPassword = new AtomicReference<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the AtomicReference really necessary? Awaitility doesn't use threads AFAIK.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using those values in lambdas and the IDE screams if they are not final or AtomicRefs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right. The "effectively final" rule...

@andreaTP andreaTP requested a review from abstractj March 16, 2022 13:37
@abstractj abstractj merged commit 5945094 into keycloak:main Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/operator Keycloak.X Operator kind/feature Categorizes a PR related to a new feature team/cloud-native
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial admin user bootstrapping via the operator
3 participants