Repository navigation
Operator Realm import from Helm chart #17369
NiclasThobaben
started this conversation in
Archive
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
we face a small but annoying issue when installing the operator from a custom Helm chart, which also includes a realm import CR.
In the chart we install all necessary resources in our vanilla K8s as described here. Additionally, we include a KeycloakRealmImport resource. When installing the chart, the operator starts working as expected, installing the Keycloak instance and setting up the job for the realm import. However, it seems like the realm import and the start of the Keycloak instance have some sort of conflicting race conditions. Sometimes everything works well, sometimes we get a second, failing realm import job.
To me it seems like the job tries to create the master realm, while the Keycloak instance is already at it.
This is not a hard issue, as the realm eventually gets imported correctly, but having he failed pod of the job hanging around is a bit annoying.
Is there something I'm missing or is there some way around it?
All reactions