DoodleScheduling / keycloak-controller

Keycloak realm reconciliation for kubernetes
Apache License 2.0
5 stars 0 forks source link

recent transition time lock can block reconciliation if only sub resources have been changed #164

Closed raffis closed 9 months ago

raffis commented 9 months ago

Describe the bug

If only sub resources have been changed and spec.interval is set to a high number reconciliation is awaiting the interval. However this does not happen if the realm generation was changed.

To Reproduce

Change a keycloakclient or user.

Expected behavior

It should trigger a reconcile. The generations of the observed sub resources have to be acknowledged as well.

Environment

Additional context

This gate exists to avoid unnecessary pod scheduling of realm reconcilers.