Skip to content

design-proposal: EndpointAttachment through the tenant Gateway (the gateway member) - #144

Open
Timofei Larkin (lllamnyp) wants to merge 1 commit into
design/endpoint-attachmentsfrom
design/endpoint-attachments-gateway
Open

Timofei Larkin (lllamnyp) wants to merge 1 commit into
design/endpoint-attachmentsfrom
design/endpoint-attachments-gateway

Conversation

@lllamnyp

@lllamnyp Timofei Larkin (lllamnyp) commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Proposes the gateway member of EndpointAttachment: a tenant publishes an application endpoint by hostname on the tenant Gateway, instead of on a dedicated address. The controller synthesizes a passthrough TLSRoute or a TCPRoute from the application's Service, or attaches the application's own HTTPRoute. It does no L7 routing.

This PR is stacked on #45, which now specifies only the loadBalancer member, implemented in cozystack/cozystack#4324, and reserves the name gateway. The proposal lives in its own directory, design-proposals/endpoint-attachments-gateway/, so its status is derived from this PR. The Gateway API text (TenantGateway passthrough, the route kinds, listener binding, the relationship to #20, legacy ingress, hostname non-reservation) moves from #45 essentially unchanged.

New in this text:

  • Changes to the base API: a table of what the member adds to design-proposal: application endpoints and EndpointAttachment #45's resource and the one existing field it changes. endpoint.serviceName becomes one of serviceName or routeName.
  • Open question 7 records the mechanism-agnostic spec proposed in review, which would replace the loadBalancer member with an address field and so change the base API.

Review asks this proposal carries

From the reviews of #45:

None of these is resolved in this revision. The text is the one reviewed at 2d3e481, so the asks stand against it as written.

Before review

  • If this revises a merged design proposal: not applicable; this is a new proposal.

DCO

  • Commits are signed off (git commit --signoff).

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b4d9a6d-0b06-4745-ba1e-fd6993c0e0d0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…mber

The gateway member of EndpointAttachment binds an endpoint to a hostname
on the tenant Gateway: it synthesizes a passthrough TLSRoute or a
TCPRoute from an application Service, or attaches the application's own
HTTPRoute. The text moves essentially unchanged from
design-proposals/endpoint-attachments, which now specifies only the
loadBalancer member and reserves this member's name.

New in this proposal: a table of what the member adds to the base API
and what it changes (the union's exactly-one list, endpoint.serviceName
becoming one of serviceName or routeName, status.routeName and url,
route acceptance as Provisioned, HTTPRoute discovery, per-chart HTTPRoute
work), and an open question recording the mechanism-agnostic spec
proposed in review, which would change the base API.

Assisted-by: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
@lllamnyp
Timofei Larkin (lllamnyp) force-pushed the design/endpoint-attachments-gateway branch from b8f2e6c to 6d3d4dc Compare November 27, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant