Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Mathieu Souchet
    @gasouch_gitlab

    Hi all,
    I have some troubles with my setup camel-k + GKE :

    I have followed instructions on page https://camel.apache.org/camel-k/latest/installation/gke.html

    • create a new Service Account camel-k-builder with Storage Admin Role in GKE
    • create a kaniko-secret.json file from this Service Account (with a new Key ID)
    • run kubectl create secret generic kaniko-secret --from-file=kaniko-secret.json
    • run kamel install --cluster-type kubernetes --registry eu.gcr.io --registry-secret kaniko-secret --organization omega-lab-e5727d --build-publish-strategy=Kaniko

    And if I check the logs with kubectl I have an error I don't understand :

    {"level":"error","ts":1597158674.0363762,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"integrationkit-controller","request":"default/kit-bsp5t2i2ef1ol6lso4ag","error":"cannot create build: Build.camel.apache.org \"kit-bsp5t2i2ef1ol6lso4ag\" is invalid: type: Required value","errorVerbose":"Build.camel.apache.org \"kit-bsp5t2i2ef1ol6lso4ag\" is invalid: type: Required value\ncannot create build\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*buildAction).handleBuildSubmitted\n\tgithub.com/apache/camel-k@/pkg/controller/integrationkit/build.go:112\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*buildAction).Handle\n\tgithub.com/apache/camel-k@/pkg/controller/integrationkit/build.go:57\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*ReconcileIntegrationKit).Reconcile\n\tgithub.com/apache/camel-k@/pkg/controller/integrationkit/integrationkit_controller.go:228\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:88\nruntime.goexit\n\truntime/asm_amd64.s:1357","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tgithub.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tsigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tk8s.io/apimachinery@v0.18.2/pkg/util/wait/wait.go:88"}

    FYI :

    > kamel kit get
    NAME                PHASE        TYPE        IMAGE
    kit-bsp5t2i2ef1ol6lso4ag    Build Submitted    platform
    
    > kubectl get pod
    NAME                                READY   STATUS    RESTARTS   AGE
    camel-k-operator-5985c6f7fd-n4bqk   1/1     Running   0          55m

    Ah, and a last information, my GKE registry (eu.gcr.io) is private.

    If you can help me you'll be my hero !

    4 replies
    pjcubero
    @pjcubero
    Question: I have one integration, and I invoke via curl, how can I reply from the integration to the curl with one message? I need to generate one response to the curl, and the user must see it. Or other option, how can I invoke one integration outside minikube? for example, to send one request via postman?
    Ricardo M. Augusto
    @rmaugusto

    Question: I have one integration, and I invoke via curl, how can I reply from the integration to the curl with one message? I need to generate one response to the curl, and the user must see it. Or other option, how can I invoke one integration outside minikube? for example, to send one request via postman?

    If you are using this example you can see how create integration http with response:
    https://github.com/apache/camel-k/blob/master/examples/routes-rest.js

    Http Component creates kubernetes service to be access by other applications:
    https://camel.apache.org/camel-k/latest/traits/service.html

    pjcubero
    @pjcubero

    Question: I have one integration, and I invoke via curl, how can I reply from the integration to the curl with one message? I need to generate one response to the curl, and the user must see it. Or other option, how can I invoke one integration outside minikube? for example, to send one request via postman?

    If you are using this example you can see how create integration http with response:
    https://github.com/apache/camel-k/blob/master/examples/routes-rest.js

    Http Component creates kubernetes service to be access by other applications:
    https://camel.apache.org/camel-k/latest/traits/service.html

    And once added the trait, service.node-port, how can I know the url or the IP to be accessed outside?

    Christophe Willemsen
    @ikwattro_twitter
    Hi, in the camel-k-examples repository, for the knative-source-basic, I had to replace the apiVersion from v1alpha1 to v1beta1, is this expected ? If yes, I'm happy to make a PR to the repo if that helps.
    pjcubero
    @pjcubero

    Hi, in the camel-k-examples repository, for the knative-source-basic, I had to replace the apiVersion from v1alpha1 to v1beta1, is this expected ? If yes, I'm happy to make a PR to the repo if that helps.

    I have this in my channel... apiVersion: messaging.knative.dev/v1
    kind: InMemoryChannel
    metadata:
    name: channel-a28

    Christophe Willemsen
    @ikwattro_twitter
    Right, I just found apache/camel-k#1636
    Ricardo M. Augusto
    @rmaugusto

    Question: I have one integration, and I invoke via curl, how can I reply from the integration to the curl with one message? I need to generate one response to the curl, and the user must see it. Or other option, how can I invoke one integration outside minikube? for example, to send one request via postman?

    If you are using this example you can see how create integration http with response:
    https://github.com/apache/camel-k/blob/master/examples/routes-rest.js

    Http Component creates kubernetes service to be access by other applications:
    https://camel.apache.org/camel-k/latest/traits/service.html

    And once added the trait, service.node-port, how can I know the url or the IP to be accessed outside?

    It works like any other kubernetes service, you can execute kubectl get svc and see service name and port... To access from outside your cluster you need nodePort or Ingress

    Aleksander Slominski
    @aslom
    What are current instructions in installing and running Camel-K in OpenSHift 4.4 - I have used https://access.redhat.com/documentation/en-us/red_hat_integration/2020-q2/html/deploying_camel_k_integrations_on_openshift/getting-started-with-camel-k#installing-camel-k-operatorhub but I am getting Caused by: java.lang.RuntimeException: Error creating instance of loader: knative-source at org.apache.camel.k.support.RuntimeSupport.lambda$lookupLoaderFromResource$10(RuntimeSupport.java:202)
    using https://redhat-developer-demos.github.io/knative-tutorial/knative-tutorial-camelk/camel-k-eventing.html#camel-k-es-sink
    k apply -f get-started/timed-greeter-source.yaml
    camelsource.sources.knative.dev/timed-greeter created
    k logs timed-greeter-qthcr-6c6c9bb8b5-qvczv
    2020-08-19 01:22:37.450 INFO  [main] LRUCacheFactory - Detected and using LURCacheFactory: camel-caffeine-lrucache
    2020-08-19 01:22:37.703 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RuntimeConfigurer@4149c063
    2020-08-19 01:22:37.704 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextConfigurer@376a0d86
    2020-08-19 01:22:37.707 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesConfigurer@222a59e6
    2020-08-19 01:22:37.709 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesDumper@4ef74c30
    2020-08-19 01:22:37.710 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.PropertiesFunctionsConfigurer@47c81abf
    2020-08-19 01:22:37.721 INFO  [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RuntimeConfigurer@4149c063 executed in phase Starting
    2020-08-19 01:22:37.786 INFO  [main] ApplicationRuntime - Listener org.apache.camel.k.listener.PropertiesFunctionsConfigurer@47c81abf executed in phase Starting
    2020-08-19 01:22:37.788 INFO  [main] BaseMainSupport - Using properties from:
    2020-08-19 01:22:37.809 INFO  [main] RuntimeSupport - Looking up loader for id: knative-source
    Exception in thread "main" org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error creating instance of loader: knative-source
        at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:52)
        at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:64)
        at org.apache.camel.k.listener.RoutesConfigurer.accept(RoutesConfigurer.java:52)
        at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32)
        at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:179)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
        at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.invokeListeners(ApplicationRuntime.java:178)
        at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeConfigure(ApplicationRuntime.java:152)
        at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:584)
        at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:423)
        at org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:195)
        at org.apache.camel.support.service.ServiceSupport.init(ServiceSupport.java:83)
        at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:112)
        at org.apache.camel.main.MainSupport.run(MainSupport.java:82)
    Aleksander Slominski
    @aslom
    How do you make sure you have compatible version of Camell-K, Knative and Knative Camel Source - is there table listing combinations somewhere?
    And what is best way to get help? Use glitter? Open github issue?
    Luca Burgazzoli
    @lburgazzoli
    here is ok
    we don't have that document at the moment but we are working to improve the way we deal with knative sources
    here the issue is likely to be an incompatibility between versions as the knative-source loader does not exists any more
    Aleksander Slominski
    @aslom
    Issue to list compatible versions apache/camel-k#1665
    Luca Burgazzoli
    @lburgazzoli
    thx
    Aleksander Slominski
    @aslom
    how can I get compatible version of Camel-K source (or Camel-K) with Knative in Openshift 4.4?
    Luca Burgazzoli
    @lburgazzoli
    @nicolaferraro ^^
    Aleksander Slominski
    @aslom
    Opened issue "Workaround for knative-source loader does not exists any more?" https://gitter.im/apache/camel-k
    Aleksander Slominski
    @aslom
    Somehow can no longer edit my own message? Correct link to issue "Workaround for knative-source loader does not exists any more?" is apache/camel-k#1666
    Andrea Cosentino
    @oscerd
    There is this issue already apache/camel-k#1336
    Aleksander Slominski
    @aslom
    I think matrix compatibility would be very valuable I can create beginning of it - do we have known good combinations to start with?
    Aleksander Slominski
    @aslom
    I was thinking about something simple: Camel-K version X.Y (X.Y.a-X.Y.n) works with Knative A.B and list ?
    2 replies
    Arthur De Magalhaes
    @arthurdm
    hi - is there a place that outlines the complete set of knative components that are available? In a tutorial I saw knative:endpoint and knative:channel, but then I also saw knative:event. wondering if there's a good description of each one.
    12 replies
    pjcubero
    @pjcubero
    I have two questions about camel and kubernetes: First one, when I deploy one integration over kubernetes, executing kamel run ...., I see that I have a lot of deployments of the same integration in kubernetes, why? How can I have only one deployment? Second one, when I deploy one integration, when it's running, in some time, kubernetes shutdown, I don't know why, and I see that there are no pods available for my integration, how can I stabilize the pod once started?
    27 replies
    pjcubero
    @pjcubero
    image.png
    Aleksander Slominski
    @aslom
    where i can find description what Camel-K operator is doing? Can I build the latest version of it and/or just install from CLI?
    3 replies
    Aleksander Slominski
    @aslom

    running operator directly from github repo clone with go run cmd/manager/main.go operator after go run cmd/kamel/main.go install --force --registry us.icr.io --organization aslom --registry-auth-username aslom --registry-auth-password ... and when executing go run cmd/kamel/main.go run --dev HelloCamelK.java

    {"level":"info","ts":1597967452.99237,"logger":"camel-k.maven","msg":"executing: mvn --batch-mode --settings /var/folders/tw/q5ywbn910mg4qpdbrsrfhlkc0000gn/T/builder-721343901/maven/settings.xml org.apache.camel.k:camel-k-maven-plugin:1.5.1-SNAPSHOT:generate-dependency-list","timeout":"3m45s"}
    {"level":"info","ts":1597967453.343324,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"alek-camel2","request-name":"kit-bsvgiemg10l9v30jo8qg"}
    {"level":"info","ts":1597967453.34348,"logger":"camel-k.controller.build","msg":"Invoking action error-recovery","request-namespace":"alek-camel2","request-name":"kit-bsvgiemg10l9v30jo8qg","api-version":"camel.apache.org/v1","kind":"Build","ns":"alek-camel2","name":"kit-bsvgiemg10l9v30jo8qg"}
    [INFO] Scanning for projects...
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] Non-resolvable import POM: Could not find artifact org.apache.camel.k:camel-k-runtime-bom:pom:1.5.1-SNAPSHOT @ line 19, column 19
    [ERROR] 'dependencies.dependency.version' for org.apache.camel.k:camel-k-loader-java:jar is missing. @ line 37, column 17
    [ERROR] 'dependencies.dependency.version' for org.apache.camel.k:camel-k-runtime-main:jar is missing. @ line 41, column 17
     @
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR]   The project org.apache.camel.k.integration:camel-k-integration:1.1.0-SNAPSHOT (/private/var/folders/tw/q5ywbn910mg4qpdbrsrfhlkc0000gn/T/builder-721343901/maven/pom.xml) has 3 errors
    [ERROR]     Non-resolvable import POM: Could not find artifact org.apache.camel.k:camel-k-runtime-bom:pom:1.5.1-SNAPSHOT @ line 19, column 19 -> [Help 2]
    [ERROR]     'dependencies.dependency.version' for org.apache.camel.k:camel-k-loader-java:jar is missing. @ line 37, column 17
    [ERROR]     'dependencies.dependency.version' for org.apache.camel.k:camel-k-runtime-main:jar is missing. @ line 41, column 17
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

    how can i fix it? how to debug it?

    5 replies
    pjcubero
    @pjcubero
    Can you explain me if there is some way to extract the evaluate expression, in java, from one camel integration, to one bean, like the same way that I'm extracting processor methods to one processor bean? Do you understand my doubt?
    pjcubero
    @pjcubero

    Can you explain me if there is some way to extract the evaluate expression, in java, from one camel integration, to one bean, like the same way that I'm extracting processor methods to one processor bean? Do you understand my doubt?

    Something like this: .setProperty("field", new Expression() {
    @Override
    public String evaluate(Exchange exchange, Class type) { This expresion to extract from the integration and locate in one java file.

    pjcubero
    @pjcubero
    How can I assign to one property, the result of one method of one bean? .setProperty("property", bean("bean", "method"))
    3 replies
    Martin Nigbur
    @anerathil
    Hey, got a question regarding Knative integration:
    Is there a possibility to tell camel to get events from a channel in another namespace? like 'from("knative:channel/namespaceb.abc")'?
    Or can i do this via a specific configuration for my KafkaChannel in namespacea?
    Thx :)
    5 replies
    Aleksander Slominski
    @aslom
    when i run go run cmd/kamel/main.go run --dev HelloCamelK.java it build OK but the image created is notusing docker registe passed in go run cmd/kamel/main.go install --force --registry docker.io --organization aslom --registry-auth-username aslom --registry-auth-password xxxxxxxxx --maven-repository http://repository.apache.org/content/groups/snapshots-group@id\=apache@snapshots@noreleases
    Do I need to something in kamel operator to tell it what registry to use to push image? To use docker.io instead of image-registry.openshift-image-registry.svc:5000?
    k get po
    NAME                                       READY   STATUS                 RESTARTS   AGE
    camel-k-kit-bsvthcug10l9ci82jgi0-1-build   0/1     Completed              0          2m20s
    hello-camel-k-857bb7dd8-rw7dv              0/1     ImagePullBackOff       0          88s
    
    k describe hello-camel-k-857bb7dd8-rw7dv
    Name:         hello-camel-k-857bb7dd8-rw7dv
    Namespace:    alek-camel2
    Priority:     0
    Node:         10.74.24.42/10.74.24.42
    Start Time:   Fri, 21 Aug 2020 10:23:48 -0400
    Labels:       camel.apache.org/integration=hello-camel-k
                  pod-template-hash=857bb7dd8
    Annotations:  cni.projectcalico.org/podIP: 172.30.95.232/32
                  cni.projectcalico.org/podIPs: 172.30.95.232/32
                  k8s.v1.cni.cncf.io/networks-status:
                    [{
                        "name": "k8s-pod-network",
                        "ips": [
                            "172.30.95.232"
                        ],
                        "dns": {}
                    }]
                  openshift.io/scc: restricted
    Status:       Pending
    IP:           172.30.95.232
    IPs:
      IP:           172.30.95.232
    Controlled By:  ReplicaSet/hello-camel-k-857bb7dd8
    Containers:
      integration:
        Container ID:
        Image:         image-registry.openshift-image-registry.svc:5000/alek-camel2/camel-k-kit-bsvthcug10l9ci82jgi0@sha256:e2d4a21d000cd4c19f5fd837a874a9d6749117131f61d0c84ae623e4c10574e1
        Image ID:
        Port:          <none>
        Host Port:     <none>
        Command:
          /bin/sh
          -c
        Args:
          echo exec java -cp ./resources:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/org.apache.camel.camel-api-3.4.2.jar:dependencies/org.apache.camel.camel-base-3.4....-
    ....
    Events:
      Type     Reason     Age                 From                  Message
      ----     ------     ----                ----                  -------
      Normal   Scheduled  <unknown>           default-scheduler     Successfully assigned alek-camel2/hello-camel-k-857bb7dd8-rw7dv to 10.74.24.42
      Normal   BackOff    44s (x6 over 2m)    kubelet, 10.74.24.42  Back-off pulling image "image-registry.openshift-image-registry.svc:5000/alek-camel2/camel-k-kit-bsvthcug10l9ci82jgi0@sha256:e2d4a21d000cd4c19f5fd837a874a9d6749117131f61d0c84ae623e4c10574e1"
      Normal   Pulling    32s (x4 over 2m1s)  kubelet, 10.74.24.42  Pulling image "image-registry.openshift-image-registry.svc:5000/alek-camel2/camel-k-kit-bsvthcug10l9ci82jgi0@sha256:e2d4a21d000cd4c19f5fd837a874a9d6749117131f61d0c84ae623e4c10574e1"
      Warning  Failed     32s (x4 over 2m1s)  kubelet, 10.74.24.42  Failed to pull image "image-registry.openshift-image-registry.svc:5000/alek-camel2/camel-k-kit-bsvthcug10l9ci82jgi0@sha256:e2d4a21d000cd4c19f5fd837a874a9d6749117131f61d0c84ae623e4c10574e1": rpc error: code = Unknown desc = Error reading manifest sha256:e2d4a21d000cd4c19f5fd837a874a9d6749117131f61d0c84ae623e4c10574e1 in image-registry.openshift-image-registry.svc:5000/alek-camel2/camel-k-kit-bsvthcug10l9ci82jgi0: unauthorized: authentication required
      Warning  Failed     32s (x4 over 2m1s)  kubelet, 10.74.24.42  Error: ErrImagePull
      Warning  Failed     21s (x7 over 2m)    kubelet, 10.74.24.42  Error: ImagePullBackOff
    15 replies
    Arthur De Magalhaes
    @arthurdm
    I would like to wrap a Camel integration written in Java with a CamelSource. Is that possible? I can only find examples where the integration is using YAML DSL.
    3 replies
    Andrew Mak
    @makandre_gitlab
    Hi, I'm trying to do something very similar to this (I want to register a uuid generator bean and use it in yaml). But I'm not using kamel run directly since I'm defining my integration in a CamelSource yaml. I wonder if this can be done?
    3 replies
    pjcubero
    @pjcubero
    Hi, I try to expose one kamel integration, deployed in local minikube, to outside, I want to send requests from Postman, my problem is that I have to expose the deployment, and the deployment is very unstable, I mean, it's deployed once, but 10 seconds later this deployment is not active and kubernetes creates another one, then my service exposed is not working, how can I solve that?
    pjcubero
    @pjcubero
    Hi, anyone knows how to avoid that kamel k integration restarts every X seconds without any modification?
    2 replies
    Andrew Mak
    @makandre_gitlab
    When I'm pushing data to a knative:channel, the message is transformed into a CloudEvent (ce_ headers generated) which is nice. But I can't seem to add any extra headers (I'm using set-header). Is there some special way to set extension headers?
    29 replies
    Aleksander Slominski
    @aslom

    Is there any way I can disable go run cmd/kamel/main.go install from creating camel-k-operator deployment? i do not have any operator installed instead I run with go run cmd/manager/main.go operator

    k get  deployment camel-k-operator
    NAME               READY   UP-TO-DATE   AVAILABLE   AGE
    camel-k-operator   0/1     1            0           11m
    
    k get po
    NAME                                       READY   STATUS             RESTARTS   AGE
    camel-k-kit-bt3dh9eg10lbubv72g70-1-build   0/1     Completed          0          18m
    camel-k-kit-bt3dk96g10lbubv72g80-1-build   0/1     Completed          0          10m
    camel-k-kit-bt3dm0ug10lchn4bpkg0-1-build   0/1     Completed          0          8m41s
    camel-k-operator-74b894d899-l7w8l          0/1     ImagePullBackOff   0          11m

    Everything seems ot work fine after I delete that deployment - it was failign as it uses snapshot image:

    k get deployment camel-k-operator -o yaml
    ...
            image: docker.io/apache/camel-k:1.1.0-SNAPSHOT
            imagePullPolicy: IfNotPresent
            name: camel-k-operator
    ...

    The only config I am doing is with go run cmd/kamel/main.go install --force --maven-repository http://repository.apache.org/content/groups/snapshots-group@id\=apache@snapshots@noreleases --olm=false and I verified it recreated camel-k-operator deployment

    3 replies
    Aleksander Slominski
    @aslom

    BTW: I was not able to change docker registry used with install - it seems to be ignored in OCP 4.4 and the registry used is image-registry.openshift-image-registry.svc:5000

    I can see that there is lot of docker related secrets but I can not find form operator log or builder which secret it uses and why

    k get secret
    NAME                               TYPE                                  DATA   AGE
    builder-dockercfg-vgdrc            kubernetes.io/dockercfg               1      32m
    builder-token-45vcd                kubernetes.io/service-account-token   4      32m
    builder-token-dsnn7                kubernetes.io/service-account-token   4      32m
    camel-k-operator-dockercfg-6txk4   kubernetes.io/dockercfg               1      3m49s
    camel-k-operator-dockercfg-dgb2n   kubernetes.io/dockercfg               1      20m
    camel-k-operator-token-jn72r       kubernetes.io/service-account-token   4      3m49s
    camel-k-operator-token-q9kxq       kubernetes.io/service-account-token   4      20m
    camel-k-operator-token-tzmvj       kubernetes.io/service-account-token   4      20m
    camel-k-operator-token-xcl2p       kubernetes.io/service-account-token   4      3m49s
    default-dockercfg-kh8ts            kubernetes.io/dockercfg               1      32m
    default-token-lvbzr                kubernetes.io/service-account-token   4      32m
    default-token-v8mk6                kubernetes.io/service-account-token   4      32m
    deployer-dockercfg-8fdsr           kubernetes.io/dockercfg               1      32m
    deployer-token-6x6ds               kubernetes.io/service-account-token   4      32m
    deployer-token-mxsbb               kubernetes.io/service-account-token   4      32m
    istio.builder                      istio.io/key-and-cert                 3      32m
    istio.camel-k-operator             istio.io/key-and-cert                 3      20m
    istio.default                      istio.io/key-and-cert                 3      32m
    istio.deployer                     istio.io/key-and-cert                 3      32m
    2 replies
    Rahul Kiran Gaddam
    @rahgadda
    Does quarkus have any framework like OData to support RestAPI? I am looking for a project similar to Odata that is pure rest and not alternatives like GraphQL
    1 reply
    Pedro Freitas
    @pdefreitas
    Hello! I'm using Camel K with Knative and I'm wondering when you use CamelSource kind, injecting a sink it overrides knative trait specified configuration section. Can anyone share me an example of how can I do it or is this expected behavior?
    Pedro Freitas
    @pdefreitas
    I am trying to do something fun with Jetty Websockets and it seems like knative is autoloading vert.x http by detecting something on my CamelSource integration, that is why I'm trying to get in handle of auto value of knative trait:
    RuntimeSupport - Found customizer org.apache.camel.k.http.PlatformHttpServiceContextCustomizer@3241713e with id platform-http from service definition
    Luca Burgazzoli
    @lburgazzoli
    @pdefreitas I think I understand what you’re trying to achieve but would be nice if you can open an issue with some description of the use case and some code can help to better understand and advise
    pjcubero
    @pjcubero
    I have seen that there is a new version of knative, 0.17, in this version is solved the issue with subscriptions?
    pjcubero
    @pjcubero

    I have seen that there is a new version of knative, 0.17, in this version is solved the issue with subscriptions?

    I see that still there is the error... Cannot reconcile Integration creacion-pacientes: error executing post actions: error during replace resource: could not create or replace resource channel-a28-creacion-pacientes: no matches for kind "Subscription" in version "messaging.knative.dev/v1alpha1". do you know when will be solved?

    Luca Burgazzoli
    @lburgazzoli
    @pjcubero see apache/camel-k#1636
    pjcubero
    @pjcubero

    @pjcubero see apache/camel-k#1636

    But, if I remove the suscription and I add to("knative:channel/channel-xx"), this not working. Which has been the solution implemented?