nicolaferraro commented on issue #315: [WIP] Migrate to operator-sdk 0.3.0
URL: https://github.com/apache/camel-k/pull/315#issuecomment-451504663
 
 
   Client is injected by the controller runtime into the user controllers each 
time a reconciliation should be executed. Saving it to a global location and 
using it from there does not seem so clean to me...
   
   Now you can assume it's always the same client, but what if it changes later 
(e.g. because of a periodic cache reset)?
   And, in any case, you need to pass the `context.Context` around.. it cannot 
be global..

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to