Attila Mészáros

Results 277 comments of Attila Mészáros

What I could imaging is to have an API that looks something like this: ```java UpdateControl reconcile(Primary primary, Context context) { // omit reconcile details return UpdateControl.expect((context,primary)-> { var resources...

cc @xstefank @metacosm @shawkins, maybe something to discuss in the next community meeting.

see also: https://kubernetes.slack.com/archives/C02MRBMN00Z/p1751979029540209

@metacosm this is also where this would be needed: https://github.com/operator-framework/java-operator-sdk/issues/2893 So if the primary resource is deleted we cleanup the expectation map, without finalizer/cleaner interface that has to be done...

@metacosm isn't is clear from thie blogpost: https://ahmet.im/blog/controller-pitfalls/#expectations-pattern linked to the issue. we can explain it on community meeting, if that is not clear enough from there. In case pls...

Added also link sample expectation from Kubernetes, that might help to understand

@metacosm @xstefank pls also check the related PR, although it is WIP, and I'm also checking on the specific use cases in the linked operators (especially karpenter since it is...