-
Notifications
You must be signed in to change notification settings - Fork 62
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: [Operator] Retrieve autogenerated Keycloak admin user credentials #690
Conversation
…oyment finish Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
src/api/che.ts
Outdated
let adminUsername | ||
let adminPassword | ||
|
||
const cheCluster = await this.kube.getCheCluster('eclipse-che', cheNamespace) |
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.
src/tasks/installers/common-tasks.ts
Outdated
export function getRetrieveKeycloakCredentialsTask(flags: any): ListrTask { | ||
return { | ||
title: 'Retrieving Keycloak admin credentials', | ||
enabled: () => flags.multiuser && (flags.installer !== 'operator' || flags.installer !== 'olm'), |
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.
let's skip if spec.auth.externalIdentityProvider
is defined
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.
Good catch
Update yarn.lock to rely on the latest che-operator changes. |
Yes, I do remember. But thank you for reminding me. |
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun mmorhun@redhat.com
What does this PR do?
Retrieves and prints Keycloak admin-user login and password after Che installation finishes.
This implementation is done for
operator
andolm
installers.The same functionality has been implemented for
helm
installer before #686chectl
output:What issues does this PR fix or reference?
eclipse-che/che#14082
Depends on
eclipse-che/che-operator#240