You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2018/11/08 22:54:58 UTC

[GitHub] nicolaferraro opened a new pull request #210: Add first Knative trait and profiles

nicolaferraro opened a new pull request #210: Add first Knative trait and profiles
URL: https://github.com/apache/camel-k/pull/210
 
 
   `kamel install` now understands if Knative is installed in the cluster and automatically activates the `Knative` profile (list of traits to be enabled) and installs additional roles and bindings for the operator.
   
   When using the `Knative` profile, a Knative `Service` is created instead of a `Deployment`. Later on we will add support for other kind of resources, such as `EventSources`.
   
   The bad thing about the approach is that Knative serving CRD don't support mounting volumes (including configmaps) in order to wrap all the state in a single resource.
   For this reason, I push the code into an ENV variable... not pretty... but I couldn't find a better solution that didn't include building a new image...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services