Skip to content

fix local-cluster-admin kubeconfigs for shards not pointing to the shards#156

Merged
kcp-ci-bot merged 1 commit intokcp-dev:mainfrom
xrstf:fix-shard-kubeconfig
Feb 19, 2026
Merged

fix local-cluster-admin kubeconfigs for shards not pointing to the shards#156
kcp-ci-bot merged 1 commit intokcp-dev:mainfrom
xrstf:fix-shard-kubeconfig

Conversation

@xrstf
Copy link
Copy Markdown
Contributor

@xrstf xrstf commented Feb 19, 2026

Summary

I assume this was a simple copy-paste mistake I made when implementing shard support. At least I cannot imagine why all shards would be configured with a lca-kubeconfig that points to the root shard. @mjudeikis hinted that it's already curious that each shard gets a --root-shard-kubeconfig-file, since shard->rootShard communication should happen via front-proxy, no? (I hope I represented that thought correctly). So why would the lca-kubeconfig also point to the root shard?

What Type of PR Is This?

/kind bug

Release Notes

Fix: A shard's `logical-cluster-admin` kubeconfig pointed to the root shard instead of the owning shard.

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. dco-signoff: yes Indicates the PR's author has signed the DCO. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 19, 2026
@xrstf xrstf requested a review from embik February 19, 2026 14:00
Copy link
Copy Markdown
Member

@ntnn ntnn left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 19, 2026
@kcp-ci-bot
Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 895026d21f99e81531bc16074d191cc9ddf3120d

@xrstf
Copy link
Copy Markdown
Contributor Author

xrstf commented Feb 19, 2026

/approve

@kcp-ci-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ntnn, xrstf

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

The pull request process is described here

Details 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 Feb 19, 2026
@kcp-ci-bot kcp-ci-bot merged commit 0c60666 into kcp-dev:main Feb 19, 2026
12 checks passed
@xrstf xrstf deleted the fix-shard-kubeconfig branch February 25, 2026 13:03
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants