Skip to content

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Sep 5, 2025

Summary

This implements support for APIExportEndpointSlices (AEES).

Starting with kcp 0.28, APIExports do not contain the virtual workspace URLs anymore (unless you specify a feature flag on kcp, and we certainly do not want to make that required for running the Agent). Instead in 0.28+, kcp will automatically create an AEES for each new APIExport, using the same name as the export.

In kcp 0.27, admins can manually create an AEES for their APIExport, but are not forced to because kcp still makes the URLs available in the APIExport.

To handle each and every situation, the agent now simply supports both scenarios. You can run it like before with --apiexport-ref if you're still on 0.27, or you can use --apiexportendpointslice-ref when you are in kcp 0.28+ or you make use of custom AEES in 0.27 already. The agent's main function will simply resolve the flags as before and figure it all out, so the main meat part of the agent can remain unchanged.

What Type of PR Is This?

/kind feature

Related Issue(s)

Fixes #86

Release Notes

* Support kcp 0.28.
* Support configuring an APIExportEndpointSlice instead of an APIExport using command line flags.

@kcp-ci-bot kcp-ci-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. dco-signoff: yes Indicates the PR's author has signed the DCO. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Sep 5, 2025
@xrstf
Copy link
Contributor Author

xrstf commented Sep 15, 2025

/retest

@kcp-ci-bot kcp-ci-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Sep 15, 2025
@xrstf xrstf requested a review from embik September 15, 2025 14:22
@xrstf xrstf changed the title WIP - Support APIExportEndpointSlices / kcp 0.28 Support APIExportEndpointSlices / kcp 0.28 Sep 15, 2025
@kcp-ci-bot kcp-ci-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 15, 2025
@xrstf
Copy link
Contributor Author

xrstf commented Sep 15, 2025

/retest

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Sep 15, 2025
@kcp-ci-bot kcp-ci-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 16, 2025
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
…te the AEES

On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
@kcp-ci-bot kcp-ci-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 16, 2025
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

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

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 02a8f23513c0219049ab3b1204ad18b06735e37f

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2025
@kcp-ci-bot kcp-ci-bot merged commit 0d1783f into main Sep 18, 2025
10 checks passed
@kcp-ci-bot kcp-ci-bot deleted the endpointslices branch September 18, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: add support for 0.28
3 participants