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

feat: [Helm] Generate password for Keycloak #686

Merged
merged 2 commits into from
May 5, 2020
Merged

feat: [Helm] Generate password for Keycloak #686

merged 2 commits into from
May 5, 2020

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented May 5, 2020

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Generates random password for Keycloak admin user and prints it into console on Che installatin step.

What issues does this PR fix or reference?

eclipse-che/che#14082

Depends on

eclipse-che/che#16849

@mmorhun mmorhun requested a review from l0rd as a code owner May 5, 2020 09:37
@mmorhun mmorhun self-assigned this May 5, 2020
@mmorhun mmorhun changed the title [Helm] Generate password for Keycloak feat: [Helm] Generate password for Keycloak May 5, 2020
@tolusha tolusha mentioned this pull request May 5, 2020
50 tasks
// Generate Keycloak admin password
const keycloakPassword = generatePassword(12)
setOptions.push(`--set che-keycloak.keycloakAdminUserPassword=${keycloakPassword}`)
ctx.highlightedMessages.push(`Autogenerated Keycloak credentials is: "admin:${keycloakPassword}"`)
Copy link
Collaborator

Choose a reason for hiding this comment

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

is -> are

Copy link
Collaborator

Choose a reason for hiding this comment

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

The autogenerated

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you provide the full chectl output?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  ✔ Show important messages
    ✔ ❗[MANUAL ACTION REQUIRED] Please add Che self-signed CA certificate into your browser: /home/mmorhun/cheCA.crt.
   Documentaton how to add a CA certificate into a browser: https://www.eclipse.org/che/docs/che-7/installing-che-in-tls-mode-with-self-signed-certificates/#using-che-with-tls_installing-che
-in-tls-mode-with-self-signed-certificates
    ✔ Autogenerated Keycloak credentials are: "admin:42uE9uFZdGZZ"
Command server:start has completed successfully.

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@mmorhun
Copy link
Contributor Author

mmorhun commented May 5, 2020

Rebased

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.

None yet

3 participants