Skip to content

Conversation

@aman4433
Copy link

@aman4433 aman4433 commented Nov 4, 2025

What this PR does / why we need it:
This PR removes the deprecated ClusterResourceSet feature gate, which has been GA since v1.11.

Ref: Remove previously deprecated code

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Task of #12771
Fixes #11114

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label labels Nov 4, 2025
@k8s-ci-robot
Copy link
Contributor

This PR is currently missing an area label, which is used to identify the modified component when generating release notes.

Area labels can be added by org members by writing /area ${COMPONENT} in a comment

Please see the labels list for possible areas.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot
Copy link
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 neolit123 for approval. For more information see the Code Review Process.

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

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 4, 2025
@aman4433 aman4433 force-pushed the remove-clusterresourceset-featuregate branch from 6477e1e to 3e358dc Compare November 4, 2025 13:12
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 4, 2025
@aman4433 aman4433 force-pushed the remove-clusterresourceset-featuregate branch from 3e358dc to fa597bf Compare November 4, 2025 13:33
@aman4433
Copy link
Author

aman4433 commented Nov 4, 2025

/test pull-cluster-api-test-main

@aman4433
Copy link
Author

aman4433 commented Nov 4, 2025

/test pull-cluster-api-e2e-blocking-main

@aman4433 aman4433 force-pushed the remove-clusterresourceset-featuregate branch from fa597bf to 7bc675b Compare November 6, 2025 13:07
@k8s-ci-robot
Copy link
Contributor

@aman4433: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-api-apidiff-main 7bc675b link false /test pull-cluster-api-apidiff-main
pull-cluster-api-e2e-blocking-main 7bc675b link true /test pull-cluster-api-e2e-blocking-main

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

"can be set only if the ClusterResourceSet feature flag is enabled",
)
}
// NOTE: The entire "if !feature.Gates.Enabled(feature.ClusterResourceSet)" block has been removed.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// NOTE: The entire "if !feature.Gates.Enabled(feature.ClusterResourceSet)" block has been removed.

No need to document that we dropped it

"can be set only if the ClusterResourceSet feature flag is enabled",
)
}
// NOTE: The "if !feature.Gates.Enabled(feature.ClusterResourceSet)" block has been removed.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// NOTE: The "if !feature.Gates.Enabled(feature.ClusterResourceSet)" block has been removed.

//
// alpha: v0.3
// beta: v1.7
MachinePool featuregate.Feature = "MachinePool"
Copy link
Member

Choose a reason for hiding this comment

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

Let's also:

  • Remove ,ClusterResourceSet=${EXP_CLUSTER_RESOURCE_SET:=true} from config/manager/manager.yaml
  • Remove l.6-l.11 in docs/book/src/tasks/cluster-resource-set.md

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

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label 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.

Feature: ClusterResourceSet

3 participants