You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/07 13:48:28 UTC

[GitHub] [camel-k] apupier commented on issue #3077: [regression] Cannot provide 2 resources with 1.8.0 and 1.8.1

apupier commented on issue #3077:
URL: https://github.com/apache/camel-k/issues/3077#issuecomment-1060706525


   ```
   (base) [apupier@localhost ~]$ kubectl get Integration test-multiple-resources -o yaml
   apiVersion: camel.apache.org/v1
   kind: Integration
   metadata:
     creationTimestamp: "2022-03-03T14:13:18Z"
     generation: 1
     managedFields:
     - apiVersion: camel.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:spec:
           .: {}
           f:sources: {}
           f:traits:
             .: {}
             f:mount:
               .: {}
               f:configuration:
                 .: {}
                 f:resources: {}
       manager: kamel
       operation: Update
       time: "2022-03-03T14:13:18Z"
     - apiVersion: camel.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:status:
           .: {}
           f:conditions: {}
           f:dependencies: {}
           f:digest: {}
           f:image: {}
           f:integrationKit:
             .: {}
             f:name: {}
             f:namespace: {}
           f:lastInitTimestamp: {}
           f:phase: {}
           f:platform: {}
           f:profile: {}
           f:runtimeProvider: {}
           f:runtimeVersion: {}
           f:version: {}
       manager: kamel
       operation: Update
       subresource: status
       time: "2022-03-03T14:13:18Z"
     name: test-multiple-resources
     namespace: default
     resourceVersion: "5539"
     uid: 47c28c96-0db4-4fc5-8672-737c13538c5c
   spec:
     sources:
     - content: |
         // camel-k: language=java
   
         import org.apache.camel.builder.RouteBuilder;
   
         public class TestMultipleResources extends RouteBuilder {
           @Override
           public void configure() throws Exception {
   
               // Write your routes here, for example:
               from("timer:java?period=1000")
                 .routeId("java")
                 .setBody()
                   .simple("Hello Camel K from ${routeId}")
                 .to("log:info");
   
           }
         }
       name: TestMultipleResources.java
     traits:
       mount:
         configuration:
           resources:
           - configmap:cm-ba4d8f5f7b532c56f7497230cb1de319778aed03/file1.txt@/etc/camel/resources/file1.txt
           - configmap:cm-518cafc272343c84c417b68c843d4f823a5809a1/samecontentfile1.txt@/etc/camel/resources/samecontentfile1.txt
   status:
     conditions:
     - firstTruthyTime: "2022-03-03T14:13:18Z"
       lastTransitionTime: "2022-03-03T14:13:18Z"
       lastUpdateTime: "2022-03-03T14:13:18Z"
       message: default/camel-k
       reason: IntegrationPlatformAvailable
       status: "True"
       type: IntegrationPlatformAvailable
     - firstTruthyTime: "2022-03-03T14:13:18Z"
       lastTransitionTime: "2022-03-03T14:13:18Z"
       lastUpdateTime: "2022-03-03T14:13:18Z"
       message: kit-c8gc2lv6s76de8cs34qg
       reason: IntegrationKitAvailable
       status: "True"
       type: IntegrationKitAvailable
     dependencies:
     - camel:log
     - camel:timer
     - mvn:org.apache.camel.k:camel-k-runtime
     - mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
     digest: vPRASD01TUb4aZfA2igrGdg-40MQIV-tO13oxD2dqv_o
     image: 10.108.19.104/default/camel-k-kit-c8gc2lv6s76de8cs34qg@sha256:9af5aec6e1d2cff80b36b734660130c2954b92586a38c66c7dc5965775d92cef
     integrationKit:
       name: kit-c8gc2lv6s76de8cs34qg
       namespace: default
     lastInitTimestamp: "2022-03-03T14:13:18Z"
     phase: Deploying
     platform: camel-k
     profile: Kubernetes
     runtimeProvider: quarkus
     runtimeVersion: 1.12.0
     version: 1.8.1
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

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