Skip to content

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Sep 29, 2025

Summary

PublishedResources have a flag to enable fetching the logicalcluster and determining the workspace path of a remote object. However enabling this flag didn't actually work because

  • logicalclusters were not claimed in the APIExport
  • core.kcp.io/v1alpha1 was not added to the client's scheme

This PR rectifies both problems and adds a basic testcase to ensure it works.

What Type of PR Is This?

/kind bug

Release Notes

Fix `EnableWorkspacePaths` in PublishedResources not having any visible effect, fix missing permission claim for logicalclusters.

On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
@kcp-ci-bot kcp-ci-bot added kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 29, 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 29, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 48d13534a490b4a9ecadd6453e1d59d087115ec6

@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 29, 2025
@kcp-ci-bot kcp-ci-bot merged commit 1052e57 into main Sep 29, 2025
10 checks passed
@kcp-ci-bot kcp-ci-bot deleted the fix-workspace-path branch September 29, 2025 15:33
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/bug Categorizes issue or PR as related to a bug. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants