[GitHub] [camel-k] nicolaferraro opened a new issue #1897: Default catalog is ignored and the operator creates a duplicate

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] nicolaferraro opened a new issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox

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


   With 1.3.0, doing:
   
   ```
   kamel install
   ````
   
   Creates a default catalog:
   
   ```
   kubectl get camelcatalog
   NAME                          RUNTIME VERSION   RUNTIME PROVIDER
   camel-catalog-1.6.0           1.6.0             quarkus
   ```
   
   But when an integration is run:
   
   ```
   kamel run examples/Sample.java -w
   ```
   
   Then another catalog is created.
   
   ```
   kubectl get camelcatalog
   NAME                          RUNTIME VERSION   RUNTIME PROVIDER
   camel-catalog-1.6.0           1.6.0             quarkus
   camel-catalog-1.6.0-quarkus   1.6.0             quarkus
   ```
   
   
   The `-quarkus` catalog is created because a mechanism exists that creates a catalog when one is not available for the platform runtime. We have only 1 runtime now, but anyway a new catalog is created and the default one ignored.
   
   At a first glance, the reason seems to be that the default catalog is missing the `camel.apache.org/runtime.provider: quarkus` annotation.
   


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] lburgazzoli commented on issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox

lburgazzoli commented on issue #1897:
URL: https://github.com/apache/camel-k/issues/1897#issuecomment-758445252


   @nicolaferraro do we need to bring the `camel.apache.org/runtime.provider` annotation back in camel-k-runtime ?


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] astefanutti commented on issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox
In reply to this post by GitBox

astefanutti commented on issue #1897:
URL: https://github.com/apache/camel-k/issues/1897#issuecomment-758478736


   I think we can just remove the lookup by annotation and also get rid of `camel.apache.org/runtime.provider` altogether.


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] astefanutti edited a comment on issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox
In reply to this post by GitBox

astefanutti edited a comment on issue #1897:
URL: https://github.com/apache/camel-k/issues/1897#issuecomment-758478736


   I think we can just remove the lookup by annotation and also get rid of `camel.apache.org/runtime.provider` altogether?


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] astefanutti edited a comment on issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox
In reply to this post by GitBox

astefanutti edited a comment on issue #1897:
URL: https://github.com/apache/camel-k/issues/1897#issuecomment-758478736


   I think we can just remove the lookup by label and also get rid of `camel.apache.org/runtime.provider` altogether?


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


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-k] astefanutti closed issue #1897: Default catalog is ignored and the operator creates a duplicate

GitBox
In reply to this post by GitBox

astefanutti closed issue #1897:
URL: https://github.com/apache/camel-k/issues/1897


   


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