astefanutti opened a new issue #1614: URL: https://github.com/apache/camel-k/issues/1614
The traits configuration is stored in the `Integration`, `IntegrationKit` and `IntegrationPlatform` resources. While this makes trait configuration part of the Camel K public API, it is not defined in any schema, and is loosely validated. Following #1600, the traits structs are used directly for serialisation. Instead of declaring `map[string]TraitSpec` fields in the API, we could make the traits structs part of the Camel K API, and refer to them from the `Integration`, `IntegrationKit` and `IntegrationPlatform` types. With #1582, the traits configuration schema will automatically be generated and included in the CRDs structural schemas. ---------------------------------------------------------------- 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: [email protected]
