You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2024/01/24 14:31:06 UTC

[I] Remove secondary IntegrationPlatform in favor of using PlatformConfiguration settings [camel-k]

christophd opened a new issue, #5097:
URL: https://github.com/apache/camel-k/issues/5097

   ### Requirement
   
   Users can add a custom IntegrationPlatform CR to their individual user namespace in order to apply customized settings to the operator. In case multiple IntegrationPlatform CRs are added to the operator namespace the concept of secondary IntegrationPlatforms has been introduced.
   
   We should separate user defined customization settings from the IntegrationPlatform CR for better maintainability.
   
   ### Problem
   
   The concept of user defined IntegrationPlatforms and secondary IntegrationPlatforms has been the source of many unknown side effects and general confusion in the past. The maintenance of the different IntegrationPlatforms is quite difficult.
   
   ### Proposal
   
   Completely remove the concept of secondary IntegrationPlatforms. Make the IntegrationPlatform 1:1 with an operator so there is only one single source of truth for the operator instance. 
   
   Introduce a separate custom resource definition called `PlatformConfiguration` that allows the user to customize a **subset** of IntegrationPlatform settings. The user may add multiple PlatformConfiguration custom resources in the user namespace and just select the configuration to apply (via annotation on the Integration resource for instance). The administrator may add multiple PlatformConfiguration custom resources to the operator namespace, too in order to let the user choose from a predefined set of named configurations.
   
   The separation of CRDs (IntegrationPlatform and PlatformConfiguration) simplifies the logic as we do not have primary and secondary resources anymore. Also the user may not be allowed to overwrite all IntegrationPlatform settings for security reasons (e.g. buildStrategy, maxRunningBuildsLimit). These restricted settings may only be changed in the IntegrationPlatform resource by a system administrator.
   
   ### Open questions
   
   Do we need to apply an automated migration strategy from secondary `IntegrationPlatform` to `PlatformConfiguration`


-- 
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-unsubscribe@camel.apache.org.apache.org

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


Re: [I] Remove secondary IntegrationPlatform in favor of using PlatformConfiguration settings [camel-k]

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #5097:
URL: https://github.com/apache/camel-k/issues/5097#issuecomment-1908691398

   Maybe `IntegrationProfile` is a better name than `PlatformConfiguration`


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Remove secondary IntegrationPlatform in favor of using PlatformConfiguration settings [camel-k]

Posted by "lburgazzoli (via GitHub)" <gi...@apache.org>.
lburgazzoli commented on issue #5097:
URL: https://github.com/apache/camel-k/issues/5097#issuecomment-1908323621

   Relates to:
   - https://github.com/apache/camel-k/issues/934
   - https://github.com/apache/camel-k/issues/3397


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Remove secondary IntegrationPlatform in favor of using IntegrationProfile settings [camel-k]

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #5097:
URL: https://github.com/apache/camel-k/issues/5097#issuecomment-1986304849

   Closed with #5138 


-- 
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-unsubscribe@camel.apache.org

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


Re: [I] Remove secondary IntegrationPlatform in favor of using IntegrationProfile settings [camel-k]

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd closed issue #5097: Remove secondary IntegrationPlatform in favor of using IntegrationProfile settings
URL: https://github.com/apache/camel-k/issues/5097


-- 
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-unsubscribe@camel.apache.org

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