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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox
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:
[hidden email]


With regards,
Apache Git Services