-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
keycloak-template.yaml Invokes command that causes Keycloak to use H2 #11620
Comments
There is something strange when I create a pod from the image: jboss/keycloak-openshift:3.4.3.Final and run the command: It works when running che standalone in multiuser mode. Wondering if this is related. |
@eivantsov Wondering if you were able to reproduce this. |
@eivantsov Can I please get an update on this? |
There's a PR in works #11761 |
Thank you |
Before adding it to the scope, I think it's important to review this issue and check if this is still accurate. The deployment on openshift is now handle through the operator. |
@mkuznyetsov could you take a look? |
yes, on Operator it works with correct database, although it uses different keycloak image and it's entrypoint |
@slemeur so, basically this issue is linked to the installation way that is no longer relevant. |
@mkuznyetsov @skabashnyuk so we close right? |
+0 |
Description
Attempting to create and start a pod for Keycloak within OpenShift for multi-user che. Using the file: che/deploy/openshift/templates/multi/keycloak-template.yaml.
The file invokes the command: /scripts/kc_realm_user.sh. When tracing through the steps of the command, we can see that the standalone.xml file for Keycloak is never modified and defaults to allow Keycloak to use the H2 database.
Reproduction Steps
Create a project in OpenShift.
Create a pod for Postgresql using postgres-template.yaml (not really necessary)
Create a pod for Keycloak using keycloak-template.yaml
Note that the Postgresql db is not used and that H2 is.
OS and version:
Any OS, Latest Version
The text was updated successfully, but these errors were encountered: