lsergio opened a new issue, #5980: URL: https://github.com/apache/camel-k/issues/5980
### What happened? Consider the following two Integrations: ``` apiVersion: camel.apache.org/v1 kind: Integration metadata: name: rest1 spec: sources: - name: main.yaml content: |- - from: uri: rest:get:/demo steps: - setBody: constant: "It worked" --- apiVersion: camel.apache.org/v1 kind: Integration metadata: name: rest2 spec: sources: - name: main.yaml content: |- - from: uri: rest parameters: method: get path: /demo steps: - setBody: constant: "It worked" ``` They are basically the same and differ on how the rest endpoints are declared. In the first case we have a complete uri: ``` - from: uri: rest:get:/demo ``` while in the second case we use parameters: ``` - from: uri: rest parameters: method: get path: /demo ``` Both Integrations succeed to deploy and are Ready. However, only the first one generates a Knative Service. Some info about the generated k8s resources: ``` $ k get it | grep rest rest1 Running True quarkus 3.2.3 kit-ct8tutfc8u1g22rl7ldg 1 rest2 Running True quarkus 3.2.3 kit-ct8tutfc8u1g22rl7ldg 1 $ k get ksvc | grep rest rest1 http://rest1.a1b2c3d4e5.integrations-tst.sensedia-eng.com rest1-00001 rest1-00001 True $ k get svc | grep rest rest1 ClusterIP None <none> 80/TCP 21s rest1-00001 ClusterIP 172.20.98.204 <none> 81/TCP,443/TCP 32s rest1-00001-private ClusterIP 172.20.2.73 <none> 80/TCP,443/TCP,9090/TCP,9091/TCP,8022/TCP,8013/TCP 32s $ k get deploy | grep rest rest1-00001-deployment 1/1 1 1 38s rest2 1/1 1 1 38s $ k get pod | grep rest rest1-00001-deployment-559df96f6-n22c2 2/2 Running 0 61s rest2-687585685-l7t9b 1/1 Running 0 61s ``` ### Steps to reproduce _No response_ ### Relevant log output _No response_ ### Camel K version 2.4.0 -- 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-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org