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

Provide a way to use kamelet ID in binding #1928

Closed
nicolaferraro opened this issue Jan 21, 2021 · 0 comments
Closed

Provide a way to use kamelet ID in binding #1928

nicolaferraro opened this issue Jan 21, 2021 · 0 comments
Assignees
Milestone

Comments

@nicolaferraro
Copy link
Member

People can use this syntax to create a specific Kamelet configuration:

from("kamelet:mykamelet/myid")...

Then they can set properties like camel.kamelet.mykamelet.myid.xxx=yyy, where xxx is the Kamelet ID (that internally translates into a route ID at runtime). Those properties can also be set in auto-loaded secrets (with special annotations).

But there's no way to use this mechanism in a KameletBinding. I'm thinking to make an implicit id property in all Kamelets (which can be forbidden in the spec-definition) and can be used to set the endpoint path.

@nicolaferraro nicolaferraro added this to the 1.4.0 milestone Jan 21, 2021
@nicolaferraro nicolaferraro self-assigned this Jan 21, 2021
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jan 21, 2021
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 2, 2021
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 2, 2021
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

No branches or pull requests

1 participant