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

Hierarchical traits configuration CLI #1616

Open
astefanutti opened this issue Jul 15, 2020 · 1 comment
Open

Hierarchical traits configuration CLI #1616

astefanutti opened this issue Jul 15, 2020 · 1 comment
Labels
area/core Core features of the integration platform

Comments

@astefanutti
Copy link
Member

astefanutti commented Jul 15, 2020

While the trait configuration could be structured and hierarchical, it is currently limited by the flat CLI used for trait configuration. For example, if hierarchical CLI would be supported, it would be possible to execute:

$ kamel run -t route.tls.termination=... -t route.tls.certificate=... -t route.tls.key=...

Instead of:

$ kamel run -t route.tls-termination=... -t route.tls-certificate=... -t route.tls-key=...

The major benefit would be that Kubernetes/OpenShift API types could be reused directly, i.e. in that example TLSConfig.

Another example would be the container trait, where all the resource, liveness and readiness related fields would be structured together.

Also, labels would ideally be stored in maps, instead of string arrays of key/value pairs.

Also, the configuration, serialised into the Integration, IntegrationKit and IntegrationPlatform would be structured, hence more legible.

This will impact documentation generation and tooling.

@astefanutti astefanutti added the area/core Core features of the integration platform label Jul 15, 2020
@astefanutti astefanutti added this to the 2.0.0 milestone Jul 15, 2020
@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!

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
Projects
None yet
Development

No branches or pull requests

2 participants