-
Notifications
You must be signed in to change notification settings - Fork 0
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
KeycloakRealm reconciliation not triggered at control loop interval frequency #200
Comments
You really don't want an interval that low. |
I did a complete wipe of controller & crds, then reinstall and got the following Controller pod full logs:
KeycloakRealm CR description:
|
You may try with v2.3.0 which might fix your issue. |
Readding the resource is really not the intention of this controller. I assume by reapplying the CRD you mean the cr and not the schema. However the underlying "problem" is probably the conflg client which caches the realm spec in keycloak itself https://github.com/adorsys/keycloak-config-cli?tab=readme-ov-file#import-options. We actually have this disabled, you can specify a custom reconciler template, see https://github.com/DoodleScheduling/keycloak-controller#reconciler-template
But taken from this this should really be documented here and I will think of making this the default behaviour aka overriding the default of the keycloak-config-cli. |
Describe the bug
KeycloakRealm CR does not reconcile in a loop
To Reproduce
Set the spec.interval to 15s, check the KeycloakRealm Events
Check the KeycloakRealm Events
I do not have the Suspended property set.
Basically, the loop stops. If I change some config via the UI, it never gets overriden.
Expected behavior
At interval=15, I would expect 4 reconciliation events per minutes, in this screenshot 4min44 ~ 18 events, but we only get 2.
Environment
The text was updated successfully, but these errors were encountered: