Skip to content

Operator fails to tunnel with Knative with Restate Cloud #120

Description

@nstandif

in knative.rs, it is missing tunnel_url():

// Build endpoint URL from Route default URL
let url_str = route
.status
.as_ref()
.and_then(|s| s.url.as_ref())
.ok_or_else(|| Error::RouteNotReady {
message: format!("Route {} is waiting for URL assignment", route.name_any()),
reason: "RouteURLNotReady".into(),
requeue_after: Some(Duration::from_secs(5)),
})?;
let url = Url::parse(url_str)?;

pub fn tunnel_url(&self, service_url: Url) -> Result<Url, url::ParseError> {

This causes the the operator to loop on reconciling, since it can't access the internal k8s url externally. Please fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions