lburgazzoli opened a new issue #1676:
URL: https://github.com/apache/camel-k/issues/1676


   
   To have a generic mechanics to use kamelet to materialize sources and sinks, 
we should introduce a new resource named `KameletBinding` like:
   
   ```yaml
   apiVersion: camel.apache.org/v1alpha1
   kind: KameletBinding
   metadata:
     name: twitter-directmessage-source
   spec:
     configuration:
       - secret:
           name: twitter-directmessage
       - property
           name: user
           value: my-user
       - property
           name: password
           valueFrom:
             secretKeyRef:
               name: the-password
               key: password
     source:
       ref:
         apiVersion: camel.apache.org/v1alpha1
         kind: Kamelet
         name: twitter-directmessage
     sink:
       ref:
         apiVersion: messaging.knative.dev/v1alpha1
         kind: InMemoryChannel
         name: twitter
   ```
   
   The operator should translate the binding into a real integration:
   
   ```yaml
   - from:
       uri: "kamelet:witter-directmessage"
       steps:
         - to: "knative:channel/twitter"
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to