Skip to content

fix: route Knative service URLs through cloud tunnel when using Restate Cloud#122

Merged
tillrohrmann merged 2 commits into
restatedev:mainfrom
tillrohrmann:issues/120
Apr 16, 2026
Merged

fix: route Knative service URLs through cloud tunnel when using Restate Cloud#122
tillrohrmann merged 2 commits into
restatedev:mainfrom
tillrohrmann:issues/120

Conversation

@tillrohrmann
Copy link
Copy Markdown
Contributor

The Knative reconciler was passing the raw in-cluster Route URL directly
to register_service_with_restate, which Restate Cloud cannot reach. This
adds maybe_tunnel_url() to RestateAdminEndpoint and uses it in the
Knative path, matching the existing ReplicaSet behavior. Also simplifies
service_url() to use the same method internally.

Closes #120

tillrohrmann and others added 2 commits April 16, 2026 12:48
…te Cloud

The Knative reconciler was passing the raw in-cluster Route URL directly
to register_service_with_restate, which Restate Cloud cannot reach. This
adds maybe_tunnel_url() to RestateAdminEndpoint and uses it in the
Knative path, matching the existing ReplicaSet behavior. Also simplifies
service_url() to use the same method internally.

Closes restatedev#120

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tillrohrmann tillrohrmann requested a review from lukebond April 16, 2026 12:26
Copy link
Copy Markdown
Contributor

@lukebond lukebond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

i just did a release but haven't announced it anywhere. i'll do a follow-up patch release for this.

@tillrohrmann tillrohrmann merged commit 10b017e into restatedev:main Apr 16, 2026
4 checks passed
@tillrohrmann tillrohrmann deleted the issues/120 branch April 16, 2026 12:58
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Operator fails to tunnel with Knative with Restate Cloud

2 participants