Skip to content

fix: apply WithStorageVersionPrecondition in kcp BuildHandlerChainFunc#4262

Open
mjudeikis wants to merge 1 commit into
kcp-dev:mainfrom
mjudeikis:fix/build-handler-chain-comment
Open

fix: apply WithStorageVersionPrecondition in kcp BuildHandlerChainFunc#4262
mjudeikis wants to merge 1 commit into
kcp-dev:mainfrom
mjudeikis:fix/build-handler-chain-comment

Conversation

@mjudeikis

Copy link
Copy Markdown
Contributor

Summary

kcp replaces GenericConfig.BuildHandlerChainFunc entirely, so the BuildHandlerChainWithStorageVersionPrecondition assigned upstream in CreateAggregatorConfig is overwritten and never runs.

Apply WithStorageVersionPrecondition explicitly in kcp's chain, gated behind the StorageVersionAPI feature gate (alpha, off by default) to match upstream. Adds the gate to the kcp feature registry, re-exported as kcpfeatures.StorageVersionAPI.

Ref: kcp-dev/kubernetes#185

What Type of PR Is This?

/kind feature

Related Issue(s)

Fixes #

Release Notes

Wire in StorageVersionAPI feature flag

kcp replaces GenericConfig.BuildHandlerChainFunc entirely, so the
BuildHandlerChainWithStorageVersionPrecondition assigned upstream in
CreateAggregatorConfig is overwritten and never runs.

Apply WithStorageVersionPrecondition explicitly in kcp's chain, gated
behind the StorageVersionAPI feature gate (alpha, off by default) to
match upstream. Adds the gate to the kcp feature registry, re-exported
as kcpfeatures.StorageVersionAPI.

Ref: kcp-dev/kubernetes#185
@kcp-ci-bot kcp-ci-bot added 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. kind/feature Categorizes issue or PR as related to a new feature. labels Jul 13, 2026
@kcp-ci-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has signed the DCO. kind/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants