astefanutti commented on issue #2379:
URL: https://github.com/apache/camel-k/issues/2379#issuecomment-860661516


   > Maybe status should only be updated by the operator and not by any tooling?
   
   That's a very good question! From a theoretical standpoint, I agree the 
`status` sub-resource should only be updated by the operator. In your use case, 
the CLI sets the Integration in a specific phase, to make the operator aware it 
should not perform any operation on the Integration, in order to avoid 
conflicting changes.
   
   I would rather propose to use patching with optimistic locking if needed, 
instead of an update operation in combination with a home-made concurrency 
control mechanism. That would simplify Integration update from the CLI, in 
addition to removing the scale sub-resource RBAC requirement.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to