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 documentation - Make it clear how to specify 2 or more options #1093

Closed
davsclaus opened this issue Nov 26, 2019 · 0 comments · Fixed by #1218
Closed

traits documentation - Make it clear how to specify 2 or more options #1093

davsclaus opened this issue Nov 26, 2019 · 0 comments · Fixed by #1218
Assignees
Milestone

Comments

@davsclaus
Copy link
Contributor

You need --trait for each parameter, so it gets a bit verbose

kamel run hello.xml --trait container.request-memory=50Mi --trait container.limit-memory=100Mi

The documentation only shows

kamel run --trait container.[key]=[value] integration.groovy

We could maybe update the auto generated docs to include a section about multiple configurations

kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] integration.groovy
@nicolaferraro nicolaferraro added this to the 1.0.0-M5 milestone Nov 26, 2019
@nicolaferraro nicolaferraro modified the milestones: 1.0.0-M5, 1.0.0-CR1 Dec 3, 2019
@nicolaferraro nicolaferraro modified the milestones: 1.0.0-CR1, 1.0.0-CR2 Dec 13, 2019
@nicolaferraro nicolaferraro self-assigned this Jan 21, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jan 21, 2020
oscerd added a commit that referenced this issue Jan 23, 2020
Fix #1093: document how to update multiple trait properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants