squakez commented on issue #5060:
URL: https://github.com/apache/camel-k/issues/5060#issuecomment-1891648395

   > > I think it's a bug. However, it does not make sense to rollback IMO. 
Let's try to find a solution which would cover both requirements if possible.
   > 
   > The main issue here is from the fact we share the same code model for 
IntegrationPlatform CRD and Integration CRD (and probably others). While the 
default values for the IntegrationPlatform CR are true, they are not for the 
Integration CR. The default values for Integration CR are the one inherited 
from the IntegrationPlatform CR. Only an **explicit** declaration from the 
Integration CR should override the IntegrationPlatform CR. That's why I want to 
revert the `+kubebuilder:default` changes. We can then think of a way to deal 
with having default values different for IntegrationPlatform CRD and 
Integration CRD generated.
   
   Yeah. If you're working on the revert, also, please make sure to include at 
least one test to avoid this failure in the future. Thanks!


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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

Reply via email to