Repository navigation
Replies: 7 comments 9 replies
|
the stadalone.xml , standalone-ha.xml kind of configurations are only for wildfy deployments, if i understand it right you are using quarks based distribution. You can put the jdbc details in you config map I use the below yaml for bring up my keycloak on quarkus with mysql.. you can cange the db url to use postgres |
|
if you are using oob keycloak then it will be using h2 database, which will store stuff in local pod. Also, keycloak is moving away from wildfly based depoloyment, i would recommend using the quarkus distribution of keycloak (there too you will have to configure database) |
|
Thanks @kkcmadhu. We are using the postgresSQL and have provided the details in our helm charts however we see the realms configs are being stored in the local h2 database. so when a pod, that has this DB, dies the config is gone. Looking the docs we need to update the standalone.xml file for this config however we don't see this file in our pods. What path can we find it? |
|
We are already using the quarkus deployment(version 17.0) |
|
Thanks @kkcmadhu . Here is my deployment file. Am I using the wrong env variables? I would also want this deployed via helm charts in future and I am working on creating the values file. |
metadata:
|
|
Hello every body, |
Uh oh!
There was an error while loading. Please reload this page.
HI Team,
I am new to keycloak and deployed it on a kubernetes cluster with standalone ha cluster mode. I created a new realm and integrated it with AD. However when I redeployed with a new image, all my changes were gone. I had to re-create the realm and integrate it again with the AD.
Where are this config stored with in the pods? How do I ensure that this changes are persisted across my releases?
All reactions