Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traits configuration schema #1614

Closed
astefanutti opened this issue Jul 15, 2020 · 2 comments
Closed

Traits configuration schema #1614

astefanutti opened this issue Jul 15, 2020 · 2 comments
Assignees
Labels
area/core Core features of the integration platform status/never-stale
Milestone

Comments

@astefanutti
Copy link
Member

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.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

@tadayosi
Copy link
Member

tadayosi commented Jul 8, 2022

Done with #3235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Core features of the integration platform status/never-stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants