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


   As today providing configurations is done by a list of key/value pairs but 
that may not be very handing for tooling and in general for comprehension:
   
   ```yaml
     configuration:
       - type: "proeprty"
         value: "key=value"
       - type: "secret"
         value: "my-secret"
   ```
   
   Wonder if we should provide a better organization, something like:
   
   ```yaml
     configuration:
       - secret:
           name: twitter-directmessage
       - property:
           name: user
           value: my-user
       - property:
           name: password
           valueFrom:
             secretKeyRef:
               name: the-password
               key: password
   ```
   
   which could give more freedom and would allow to use patterns commonly used 
in other kubernetes resources like referencing an entry in a secret or configmap


----------------------------------------------------------------
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