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

Use sinkbinding in operator #1548

Closed
nicolaferraro opened this issue Jun 22, 2020 · 0 comments · Fixed by #1637
Closed

Use sinkbinding in operator #1548

nicolaferraro opened this issue Jun 22, 2020 · 0 comments · Fixed by #1637
Milestone

Comments

@nicolaferraro
Copy link
Member

Following apache/camel-k-runtime#372 we should enable the following two scenarios in the operator:

1) Auto-publish as source via sinkbinding

When writing an integration like:

from("xxx").to("knative:endpoint/xxx")

Instead of looking up directly xxx, we can create a sinkbinding on the subresource we create (deployment/cronjob/kservice), so that knative injects the correct references.

This allows an integration to be directly seen as Knative source directly.

The behavior should not be the default until sinkbinding gets more stable.

2) Allow users to do sinkbinding on Integrations

While it's not currently possible to select a Camel K resource for sinkbinding, the subresources can be selected via label for sinkbinding.

So a user should be able to define an integration with an empty sink, e.g.:

from("...").to("knative:endpoint")

(or something similar, to be documented)

And the binding to the actual sink should be provided by the user via a manually created sinkbinding.

If no sinkbinding is provided by the user, the integration should fail at runtime (but not being blocked by the operator).

@nicolaferraro nicolaferraro modified the milestones: 1.1.0, 1.2.0 Jul 16, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jul 24, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jul 24, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 5, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 5, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 5, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 6, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 6, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 6, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 7, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Aug 7, 2020
nicolaferraro added a commit that referenced this issue Aug 7, 2020
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.

1 participant