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
I have noticed when I use a DecoratorController, and try to send the response with status for an attachment resource, although it gets reflected in the attachment resource for the very first time, but for the subsequent updates in the status field of this attachment resource, metacontroller just ignores doing any changes - its even missing in the mergepatch calculated.
sample logs from metacontroller:
in request i see this: (expected)
Notice the time change in the request and response.
Now, in this log, metacontroller gives the expected change in spec in attachment cr, but I cant see the status bit here
{"level":"Level(-5)","ts":1678347112.267575,"msg":"Diff between observed and desired","mergePatch":{"spec":{"data":"{\"maxclients\":\"9800\",\"repl-ping-replica-period\":\"10\"},,\"runAsNonRoot\":true,\"runAsUser\":7777777}}"}}}
The text was updated successfully, but these errors were encountered:
hi @Shashankft9 , I saw #776, however this is not the way how I would like to handle it, as it is arbitrary changing the behawior. In some cases people do not controll the races in resources.
I would see that it will be controllable behaviour per child/attachement, so change in the config API, I still need to wrap an idea regarding this, as have some other config related changes in API types (i.e. emitting events)
I have noticed when I use a
DecoratorController
, and try to send the response with status for an attachment resource, although it gets reflected in the attachment resource for the very first time, but for the subsequent updates in the status field of this attachment resource, metacontroller just ignores doing any changes - its even missing in the mergepatch calculated.sample logs from metacontroller:
in request i see this: (expected)
in response i see this: (expected)
Notice the time change in the request and response.
Now, in this log, metacontroller gives the expected change in spec in attachment cr, but I cant see the status bit here
The text was updated successfully, but these errors were encountered: