astefanutti opened a new issue #2249:
URL: https://github.com/apache/camel-k/issues/2249
Currently, when deploying an Integration with a Knative Service endpoint,
the created service URL depends on the Integration name, rather than the
endpoint name. For example, when running `kamel run -n test` with:
```
from('knative:endpoint/knative2')
.setBody().constant("Hello from knative2")
```
The Knative Service is accessible from `http://test.ns.domain`.
This causes confusion, as users may assume the service information is based
on the endpoint information. The documentation also states that the `name` path
parameter identifies the Knative resource:
https://github.com/apache/camel-k-runtime/blob/4f356e03bccbea2cb6a226aece6bce27ca1af9b8/components/camel-knative/camel-knative/src/main/docs/knative-component.adoc#path-parameters-2-parameters
Either it's possible to have the KnativeService URL based on the endpoint
name, or we may better remove the path from our examples, as it has no meaning.
This also raises the question of the support for multiple Knative consumer
endpoints. Any conventions or limitations should be documented.
/cc @mmelko
--
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:
[email protected]