Skip to content

KnativeService URL is based on the Integration name rather than the consumer endpoint name #2249

Open
@astefanutti

Description

@astefanutti

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions