You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Dependent Resources from the Operator SDK #13453
The Realm Import CR will probably get deprecated in some time in favor of a proper Realm CR. But it's a possibility it'll remain as Realm CR definitely won't cover full Realm representation as the Import CR does. Hence, IMHO Realm Import should be converted to dependent resource as well if it's not too much effort.
There are several places not using a cache where one may be applicable (secrets, statefulsets). This can be a lower priority task as we should already be making signifcantly fewer calls to the api server.
We can consider changing the realmimport logic to be based upon keycloaks, rather than statefulsets.
We may still want something like the MetadataAwareOnUpdateFilter in place to prevent vacuous reconciliation loops (there shouldn't be any that we're currently hitting, but they could creep back in)
A difference to callout, but which shouldn't make a difference noticable to users, is operator-framework/java-operator-sdk#2008 - that is until we pick that up all SSA updates are applied locked. At worst there will be additional logging of temporary conflicts.
Activity
shawkins commentedon Jun 7, 2023
@vmuzikar I can start this effort in parallel with other tasks. This seems like it may take some time to get right.
12 remaining items
shawkins commentedon Aug 2, 2023
@vmuzikar I don't seem to have rights to add tasks. I'll start linking them in here: #22182 #22183 #22206 #22207 #22223 #22225
shawkins commentedon Aug 2, 2023
@vmuzikar do you want the RealmImport logic as a part of this? Or did I understand correctly that the mechanism may change to just a Realm CR?
vmuzikar commentedon Aug 3, 2023
The Realm Import CR will probably get deprecated in some time in favor of a proper Realm CR. But it's a possibility it'll remain as Realm CR definitely won't cover full Realm representation as the Import CR does. Hence, IMHO Realm Import should be converted to dependent resource as well if it's not too much effort.
shawkins commentedon Aug 21, 2023
Having nearly completed the conversion there are a coupld of thoughts / additional tasks:
shawkins commentedon Aug 21, 2023
A difference to callout, but which shouldn't make a difference noticable to users, is operator-framework/java-operator-sdk#2008 - that is until we pick that up all SSA updates are applied locked. At worst there will be additional logging of temporary conflicts.
shawkins commentedon Oct 17, 2023
Marking as resolved.
marchermans commentedon Jul 22, 2026
I would like to re-open this ticket. As resources like the Statefulset for KeyCloak do not have this handling properly implemented.
Should I open a new ticket, or do you want to reopen this ticket?
vmuzikar commentedon Jul 22, 2026
Feel free to open a new ticket if there's a bug. Thanks.